yukuku / telebot

Telegram Bot starter kit. Very easy to install with Google App Engine.
Apache License 2.0
689 stars 236 forks source link

Cyrrilic problem #47

Open drexample opened 8 years ago

drexample commented 8 years ago

Hello there! When i'm trying to make bot reply with cyrillic letters it doesn't do anything. What shoul i do?

LPFinch commented 7 years ago

Привет) You need to convert cyrillic text like this reply('\xd0\x9d\xd0\xb8\xd1\x85\xd1\x83\xd1\x8f \xd0\xbd\xd0\xb5 \xd0\xbf\xd0\xbe\xd0\xbd\xd1\x8f\xd0\xbb'.decode('utf-8'))

bot answer is нихуя не понял regards