Android : Android ParseCloud utf8 issue

on Sunday, March 22, 2015


I am developing android application which communicate with Parse Cloud. From cloud function I'm getting localized name of city. Here is an example and explanation of my problem..


From cloud function I'm getting "Paris" in Czech localization:


Data in JSON:



"Pa\u00c5\u0099\u00c3\u00ad\u00c5\u00be"


Snippet of code in Android:



results = ParseCloud.callFunction("testFunction", params);


Data in results:



PaÅíž


But right is:



Paříž


I think data in JSON are OK. According to online utf8 encoder - https://mothereff.in/utf-8


Any idea what I'm doing wrong??


Thanks...


0 comments:

Post a Comment