mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
fix unicode issue
This commit is contained in:
parent
77930e0d8b
commit
2cee590ca8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def echo():
|
|||
if LAST_UPDATE_ID < update.update_id:
|
||||
# chat_id is required to reply any message
|
||||
chat_id = update.message.chat_id
|
||||
message = update.message.text
|
||||
message = update.message.text.encode('utf-8')
|
||||
|
||||
if (message):
|
||||
# Reply the message
|
||||
|
|
Loading…
Reference in a new issue