• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to parse special characters using NSXMLParser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Unable to parse special characters using NSXMLParser
      • From: Benjamin Dobson <email@hidden>
References: 
 >Unable to parse special characters using NSXMLParser (From: JanakiRam <email@hidden>)
 >Re: Unable to parse special characters using NSXMLParser (From: Dave Carrigan <email@hidden>)

  • Prev by Date: Re: Unable to parse special characters using NSXMLParser
  • Next by Date: Re: Get service requester application name
  • Previous by thread: Re: Unable to parse special characters using NSXMLParser
  • Next by thread: Re: Unable to parse special characters using NSXMLParser
  • Index(es):
    • Date
    • Thread