-
Notifications
You must be signed in to change notification settings - Fork 380
Issue Decoding Special Characters (response.body) #789
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
Comments
Found a workaround: Use:
Instead of:
It works like a charm! I still think that the Because in my understanding, even with request headers {"charset": "utf-8"} it doesn`t decode from utf-8 what is kind of strange behaviour. |
I haven't touched Flutter for a while, but I didn't realize this issue was not closed yet... |
thanks, it solves my Turkish character (ş, ı,ç etc) problems |
the solution for me was this : https://pub.dev/packages/html_unescape
|
Fixed in b7cdf61 |
Issue decoding special characters such as:
ã --> didn't test with any other special chars, but should be happening too. Such as ç, õ, á, à, ó, í, and so on...
Code:
Expected:
{ "title": "Não encontrado" }
Reality:
{ "title":"Não encontrado" }
The text was updated successfully, but these errors were encountered: