Re: NSXMLDocument encoding
Re: NSXMLDocument encoding
- Subject: Re: NSXMLDocument encoding
- From: Ricky Sharp <email@hidden>
- Date: Mon, 5 May 2008 17:03:55 -0500
On May 5, 2008, at 4:52 PM, Robert Cerny wrote:
However I don't get correctly encoded data from NSXMLNodes
Well, what *do* you get? Show us the data and what you expected.
I get the data in us-ascii encoding. The accented characters are
missing from output or changed to wrong letters
This is the third time it's been asked; show us the data.
You're not getting the data in ASCII since that would have omitted all
accented characters.
You're most likely getting character mangling when text is in one
encoding, yet you're treating it as if it had a different encoding.
Look at hex values in your debugger. Then, look up those values in
various code page tables to see what character you should be getting.
For example, you mention CP1250. Put that up side by side to other
common pages (e.g. CP1252 or ISO_8859-1).
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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