I needed to work with Facebook SDK, so with some help, I wrote script that can find informations about person. But if there is diacritic in his/her name, it will be malformed, I tried to set charset in SDK files, but it doesn’t help.
For example, if the name is René Beneš, it will be RenĂ© Beneš.
Can you help me please?
Thank you
I needed to work with Facebook SDK, so with some help, I wrote script
Share
I can describe, at the character level, what is going on here – I hope it helps you closer to a solution. You apparently get the data in UTF-8 encoding, but your software interprets it as ISO-8859-2 (ISO Latin 2, “East European”) encoding. For example, letter “é” (U+00E9) is two bytes 0xC3 0xA9 in UTF-8. If the bytes are incorrectly interpreted according to ISO-8859-2, 0xC3 becomes Ă and 0xA9 becomes ©.
So you should try to make your software read and process the data in UTF-8 or to transcode it from UTF-8 to the encoding you use.