Invalid Arabic characters With Utf-8 charset Retrived with http.get Flutter
The web server’s Content-Type header is Content-Type: text/html. Note that isn’t including a charset suffix. It should be saying Content-Type: text/html; charset=utf-8. The package:http client looks for this charset when asked to decode to characters. If it’s missing it defaults to LATIN1 (not utf-8). As you’ve seen, setting the headers on the Request doesn’t help, … Read more