My json data http://www.cnliuda.com/API/index1_hot.asp this api inside, I always garbled resolve to find a lot of ways, but this problem has been bothering me, I hope to help resolve the great God who look, thank you.
Reply:
Do the next coding
Reply:
Json format does not seem correct, I checked with a tool, the tool tips: Unexpected token ILLEGAL
Reply:
You can refer to my JSON algorithm, but the C #
http://blog.csdn.net/roger_mmx/article/details/7854497
By
JSONArray ja = JSONConvert.DeserializeArray (textBox1.Text);
Reply:
You like this garbled HTML or URL encoding, decoding look
Reply:
Coding problem is garbled.
What is the server-side coding?
What used to encode client?
Under normal circumstances, let the server returns UTF-8 encoded data,
Use NSUTF8Encoding decoding client converting from NSData to NSString.
Most likely the server is not UTF-8 encoding, Win platform is likely to return to the default system encoding (GB2312 or GB18030).
No comments:
Post a Comment