• 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: NSXML and invalid UTF8 characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXML and invalid UTF8 characters


  • Subject: Re: NSXML and invalid UTF8 characters
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 31 Jan 2010 21:53:38 -0800

On Jan 31, 2010, at 9:42 AM, Andrew Thompson wrote:

> 0x80 to 0x9F in codepage 1252 inclues the Euro sign, the bullet (option-8 on the mac) the en-dash and em-dash... i.e. all things that will be found even in English text.
> (Reference http://msdn.microsoft.com/en-us/goglobal/cc305145.aspx)
> These can all be represented in unicode, but you'd have to run the text through a converter. Which will lead to the question, how do you know the encoding of what was pasted in?

This is a false alarm — the OP already clarified that he's not talking about UTF-8 encoding, but rather Unicode characters that are illegal in XML (such as nulls). So the issue really has nothing to do with CP1252 or other encodings.

—Jens_______________________________________________

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

References: 
 >NSXML and invalid UTF8 characters (From: Keith Blount <email@hidden>)
 >Re: NSXML and invalid UTF8 characters (From: Andrew Thompson <email@hidden>)

  • Prev by Date: Re: OpenAL and file size
  • Next by Date: Re: Crash in NSControl's sizeToFit
  • Previous by thread: Re: NSXML and invalid UTF8 characters
  • Next by thread: mouseEntered/-mouseExited not firing on drag (NSTrackingEnabledDuringMouseDrag on)
  • Index(es):
    • Date
    • Thread