Reputation: 485
I have an api which returns a UTF8 string but on my app the TextBlock that shows this string is using other encoding than UTF8. How can I deal with such a problem ?
Thanks,
Upvotes: 0
Views: 191
Reputation: 88155
From our discussion I'm guessing that the HttpClient object is performing an incorrect conversion due to either the server failing to specify an encoding, or specifying the wrong encoding. Check the content encoding and content type response headers.
Upvotes: 1