SWE
SWE

Reputation: 485

UTF8 Text Encoding - Windows Phone 8.1 C++

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

Answers (1)

bames53
bames53

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

Related Questions