reefstah / TelegramBotAPI

A Java 8 implementation of Telegram's bot API.
MIT License
8 stars 1 forks source link

Fix Encoding Problems with UTF-8 #10

Closed solidnerd closed 9 years ago

solidnerd commented 9 years ago

Hey, i encoutered a problem with sendMessage(). If your Content is in UTF-8 and not in the default ISO-8859-1 see, you will receive a Bad Request , because the Telegram Bot Api wants only UTF-8. You should force it instead to use the default.