How to decode UTF8 characters with JSON on iPhone ?

Posted by Fabrizio on Stack Overflow See other posts from Stack Overflow or by Fabrizio
Published on 2010-06-08T08:57:12Z Indexed on 2010/06/08 9:02 UTC
Read the original article Hit count: 309

Filed under:
|

Hi there, I'm using ASIHTTP Request to get a NSString response that I give to a SBJSON parser.

The problem is that inside the NSString response I got some UTF8 encoded character (accent) that I need do decode to make the app works.

How can I decode UTF8 with JSON? I call the JSON message like this: [jsonParser objectWithString:jsonString error:NULL];

Any help would be so appreciated.

Fabrizio

© Stack Overflow or respective owner

Related posts about iphone

Related posts about JSON