We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When use SQLitestorage, Chinese looks like have some encoding problems.
sqlite> select * from StatementTable; 11|大æ±�ä¸�å�»æµªæ¶�é��ï¼�ä½ å�¯ç��å��æ��ç��é��é��|�� 12|ä¸�æµ·ç��|�� 13|é�¿æ±�ä¸�é�¿ï¼�é»�æ²³ä¸�é�¿ï¼�ä½ å�°åº�æ�³è¦�å¹²å��ï¼�|��
What's wrong with it...
When I use this bot in server:
class ChatbotHandler(RequestHandler): def get(self, question): result = '小益费尽了九牛二虎之力未能找到相关内容' try: if question: bot_result = chatbot.get_response(str(question)) if bot_result: result = str(bot_result) except e: print(e) self.write(json.dumps({'data': result}, ensure_ascii=False)) self.finish()
response with a fail encoding was:
{"data": "�海�"}
The text was updated successfully, but these errors were encountered:
Fixed by #890
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
When use SQLitestorage, Chinese looks like have some encoding problems.
What's wrong with it...
When I use this bot in server:
response with a fail encoding was:
The text was updated successfully, but these errors were encountered: