how to parse Turkish charactern in an xml response on iOS
I am getting some Turkish characters in an xml response. That causes some exceptions.
Can anybody t开发者_JAVA技巧ell me how can handle this?
Try this. Convert it into UTF8
NSData *data = [myString dataUsingEncoding:NSUTF8StringEncoding];
Then parse with this data...
NSXMLParser *parser = [[NSXMLParser alloc] initWithData:data];
精彩评论