I am posting JSON requests to an URL using Unity and C#. I am getting back responses in JSON format with texts containing some special characters. Such as: "ó", "ü","é" etc.
For the posting and receiving, I am using the WWW class of Unity. I have tried to convert the incoming byte[] the following way:
byte[] incomingBytes = Encoding.Convert(Encoding.UTF8, Encoding.Unicode, www.downloadHandler.data);
var str = Encoding.Unicode.GetString(incomingBytes);
Debug.Log(str);
It makes no effect on the output. I am still getting the following example text back: csap\u00e1sra
instead of csapásra
. Any idea how to get back a field containing special characters from a JSON in Unity/C#?