Re: Convert unicode string into ascii
Re: Convert unicode string into ascii
- Subject: Re: Convert unicode string into ascii
- From: Andrew Farmer <email@hidden>
- Date: Thu, 28 Aug 2008 13:40:02 -0700
On 28 Aug 08, at 12:08, Ricky Sharp wrote:
Just to point this out, the sequence of ASCII may not be useful at
all if the file is say Unicode. The actual bytes making up each char
could be "ASCII" values themselves.
Unicode is a character set, not an encoding. I'm not sure about UTF-16
or other stranger encodings, but I do know that any UTF-8 character
below 0x80 corresponds directly to a single ASCII character. This is a
design feature of the encoding.
_______________________________________________
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