-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeDecodeError: 'utf-8' codec can't decode byte ... #3270
Comments
GitMate.io thinks possibly related issues are #1731 (UnicodeEncodeError: 'utf-8' codec can't encode character '\udca9'), #207 (UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 60: surrogates not allowed), #1750 (Encoding is always UTF-8 in POST data), #18 (Auto-decoding doesn't recognize content-type: application/json; charset=utf-8), and #1802 (response.text() crash if body contain non UTF-8 symbol). |
You are trying to fetch GIF as UTF-8 encoded text. |
rewrite again and now it's ok, thx !!
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Long story short
When request a call to some servers, a coding error occurs instead download the image / content
Actual behaviour
Steps to reproduce
Your environment
Python 3.7.0
aiohttp 3.4.4
The text was updated successfully, but these errors were encountered: