{"action":"created","issue":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/623","repository_url":"https://api.github.com/repos/bblanchon/ArduinoJson","labels_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/623/comments","events_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/623/events","html_url":"https://github.com/bblanchon/ArduinoJson/issues/623","id":277465466,"number":623,"title":"UTF8 Escape sequence filtered","user":{"login":"shurillu","id":34068748,"avatar_url":"https://avatars0.githubusercontent.com/u/34068748?v=4","gravatar_id":"","url":"https://api.github.com/users/shurillu","html_url":"https://github.com/shurillu","followers_url":"https://api.github.com/users/shurillu/followers","following_url":"https://api.github.com/users/shurillu/following{/other_user}","gists_url":"https://api.github.com/users/shurillu/gists{/gist_id}","starred_url":"https://api.github.com/users/shurillu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurillu/subscriptions","organizations_url":"https://api.github.com/users/shurillu/orgs","repos_url":"https://api.github.com/users/shurillu/repos","events_url":"https://api.github.com/users/shurillu/events{/privacy}","received_events_url":"https://api.github.com/users/shurillu/received_events","type":"User","site_admin":false},"labels":[{"id":74339344,"url":"https://api.github.com/repos/bblanchon/ArduinoJson/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-28T17:13:23Z","updated_at":"2017-11-29T09:33:46Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\nI'm using your excellent library for integrating Telegram bots inside a ESP8266 and i'm very happy with it.\r\nIt work pretty well but when I send some text that contain extended chatacters (like \"€\" or \"à\" for example)  to my telegram bot, Telegram send the text coded in UTF8.\r\nFor example, if I send the euro character \"€\" to my telegram bot, this is what I receive (raw string):\r\n\r\n{\"ok\":true,\"result\":[{\"update_id\":0000000,\r\n\"message\":{\"message_id\":159,\"from\":{\"id\":0000000,\"is_bot\":false,\"first_name\":\"XXXXX\",\"username\":\"XXXXX\",\"language_code\":\"it\"},\"chat\":{\"id\":0000000,\"first_name\":\"XXXXX\",\"username\":\"XXXXX\",\"type\":\"private\"},\"date\":1511886142,\"text\":\"\\u20ac\"}}]}\r\n\r\n(I masked some fields)\r\n\r\nThe \"text\" field contain the message sent: in that case the message is \"\\u20ac\" that is the \"€\" character coded in UTF8\r\n\r\nIf I parse the stream using your libray, I got:\r\n\r\n{\"ok\":true,\"result\":[{\"update_id\":0000000,\r\n\"message\":{\"message_id\":159,\"from\":{\"id\":0000000,\"is_bot\":false,\"first_name\":\"XXXXX\",\"username\":\"XXXXX\",\"language_code\":\"it\"},\"chat\":{\"id\":0000000,\"first_name\":\"XXXXX\",\"username\":\"XXXXX\",\"type\":\"private\"},\"date\":1511886142,\"text\":\"u20ac\"}}]}\r\n\r\nthe backslash \"\\\" disappear (I guess you filter it inside the library)\r\n\r\nThere is a way to solve that? I know that you are not supporting the UTF8 code, but maybe there is a walkaround...\r\n\r\nThanks, \r\n\r\nStefano\r\n\r\nP.S.: Telegram use the UTF8 standard for coding all messages (input and output)\r\n"},"comment":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/comments/347803439","html_url":"https://github.com/bblanchon/ArduinoJson/issues/623#issuecomment-347803439","issue_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/623","id":347803439,"user":{"login":"shurillu","id":34068748,"avatar_url":"https://avatars0.githubusercontent.com/u/34068748?v=4","gravatar_id":"","url":"https://api.github.com/users/shurillu","html_url":"https://github.com/shurillu","followers_url":"https://api.github.com/users/shurillu/followers","following_url":"https://api.github.com/users/shurillu/following{/other_user}","gists_url":"https://api.github.com/users/shurillu/gists{/gist_id}","starred_url":"https://api.github.com/users/shurillu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurillu/subscriptions","organizations_url":"https://api.github.com/users/shurillu/orgs","repos_url":"https://api.github.com/users/shurillu/repos","events_url":"https://api.github.com/users/shurillu/events{/privacy}","received_events_url":"https://api.github.com/users/shurillu/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T09:33:46Z","updated_at":"2017-11-29T09:33:46Z","author_association":"NONE","body":"YES! It's the same issue that I have.\r\nI'm planning to release a class (based on your library  - man, with arduinoJSON is a piece of cake!) to easily use the Telegram Bot API.\r\nI'm a founder of an Arduino User Group in Cagliari (my home city) and the Telegram Library is a part of a project. \r\nUntil the feature will be released, I'll try to find a workaround (or simply, we will not use extended charset)\r\nThanks Benoit for all your effort!\r\n\r\nRegards,\r\n\r\nStefano\r\n\r\n"}}
{"actor":{"display_login":"shurillu"}}