And the fix was very simple:
Change the encoding type to NSUTF8StringEncoding when you initialize your Return value with the NSData object..
NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&urlResponse error:&error];
NSString *jsonString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
No comments:
Post a Comment