Fix Server response could not be decoded using UTF-8#1623
Fix Server response could not be decoded using UTF-8#1623tsnoam merged 5 commits intopython-telegram-bot:masterfrom rikonaka:master
Conversation
|
I have some doubts about this automated test result. I have never modified the code for This should be solved by the guy responsible for this module. |
|
The main problem still is |
I think may be we should drop the invalid data which uses |
|
|
Yes, I know where is the problem now, I use the |
…, 'replace') will nerver raise an error
|
I think it should be okay now. |
|
Maybe my solution #1651 is better. |
I have read your code and comment on your pull request, and it didn't solve the problem...😂 |
|
It definitely solves the problem. |
|
failure in unitests is unrelated |
|
@rikonaka thank you for your contribution |
Remove the handling of
UnicodeDecodeErrorerrors beacause of using thedecoded_s = json_data.decode('utf-8', 'replace').Remove test for invalid JSON data cause there is no more error caused by decoding utf-8..
issues #1609