Re: Unable to parse special characters using NSXMLParser
Re: Unable to parse special characters using NSXMLParser
- Subject: Re: Unable to parse special characters using NSXMLParser
- From: JanakiRam <email@hidden>
- Date: Fri, 17 Oct 2008 00:20:01 +0530
Dave,
Thanks for the response.
In this case we are getting the following as the first line of the document.
<?xml version="1.0"?>
JanakiRam
On Fri, Oct 17, 2008 at 12:11 AM, Dave Carrigan <email@hidden> wrote:
>
> On Oct 16, 2008, at 11:23 AM, JanakiRam wrote:
>
> I'm having problems with NSXMLParser while parsing XML File which contain
>> some special characters or Non-UTF8 Characters,
>>
>
> Is the server setting the appropriate character encoding in the XML
> document? If it is not, then the document is not well-formed, and
> NSXMLParser is correctly rejecting it.
>
> You can see what encoding is being used by examining the first line; it
> will look something like
>
> <?xml version='1.0' encoding='the-doc-encoding' ?>
>
> --
> Dave Carrigan
> email@hidden
> Seattle, WA, USA
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden