• 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: Dave Carrigan <email@hidden>
  • Date: Thu, 16 Oct 2008 11:41:42 -0700


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

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

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: JanakiRam <email@hidden>
References: 
 >Unable to parse special characters using NSXMLParser (From: JanakiRam <email@hidden>)

  • Prev by Date: Re: newbie: send message to class not instance
  • Next by Date: Re: Unable to parse special characters using NSXMLParser
  • Previous by thread: Unable to parse special characters using NSXMLParser
  • Next by thread: Re: Unable to parse special characters using NSXMLParser
  • Index(es):
    • Date
    • Thread