NSXMLParser encoding error

freakers

New Member
I'm programming an application using latin characters. Here are the lines I use to get data by XML parsing.\[code\]NSURL *url = [NSURL URLWithString:urlString]; // urlString : param of the functionNSData *data = http://stackoverflow.com/questions/10777859/[NSData dataWithContentsOfURL:url];parser = [[NSXMLParser alloc] initWithData:data];\[/code\]But for example, ? or ' are replaced by ?. So what should I do ?The encoding of my xml file :\[code\]<?xml version="1.0" encoding="ISO8859-1"?>\[/code\]Thanks for your advices
 
Back
Top