Re: Unicode and various NSString questions ...
Re: Unicode and various NSString questions ...
- Subject: Re: Unicode and various NSString questions ...
- From: Clark Cox <email@hidden>
- Date: Mon, 2 Feb 2004 08:28:18 -0500
On 2004/02/01, at 23:26, Glen Low wrote:
>
> 1. I'm assuming UTF-8 (as in stringWithUTF8String:) is Unicode. Is
>
> this
>
> true?
>
>
Unicode is an abstract concept, but has several concrete encodings
>
like UTF-8 and UTF-16. Most people think of the 2-byte version UTF-16
>
as Unicode, since it mostly corresponds 1-1 to all the characters in
>
Unicode. UTF-8 is 1 byte for all Roman characters, and some escape
>
sequences to get the other characters in Unicode;
<pedantic>
Just a minor nit to pick, UTF-8 is a single byte for all *ASCII*
characters, not all *roman* characters.
</pedantic>
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.