I have been going head over heels to solve this. I have a json feed that returns UTF based data
For example:
{“statusCode”:200,”body”:[{“wall_id”:889370,”posted_by”:”nicol”,”poster_id”:1113,”poster_image_thumbnail”:”http://www.mface.me/images/avatar/thumb_f713034d70bcd5e4d68b5ed5.jpg”,”post_type”:”profile”,”post_content”:[{“text”:”咯. …. etc
I can successfully read this into a json object, but when i display the value from “text” all i get are question marks, It’s the same when i print to the console.
The same feed works for my iPhone app without any issues.
Any suggestions are highly appreciated
Edit:
I can safely say that the phone i am testing with is running Ginger bread and has no issues displaying UTF-8 characters. It must be how async http is reading the UTF characters. I am not sure how to solve this.
Thanks for the responses, i think i have figured it out. well, atleast that’s what i think. Text seems to show properly in UTF.
For other friends who would like to know the answer, this is what i did
I am not sure if this indeed the right solution, but seems to work. Please correct me if i am wrong.