Phillip B. Holmes wrote:
>>Care to quote the relevant passage? 
>Its there.. Read it again. Ever heard of surrogates?

I have read it. Several times. I can't find anything in that article to support 
your assertion that there are parts of Unicode (or any range of 16-bit values) 
that cannot be encoded in UTF-8. I'm really not trying to be snarky. If that 
article supports this notion, please do a both a favor, and quote it, or say 
which section in particular you're talking about.

That article only mentions surrogate pairs (with which, yes, I'm familiar) in 
like three places, two of them in the discusion of Java's non-standard version 
of UTF-8.

>You should read this too:
>http://www.microsoft.com/globaldev/getwr/steps/wrg_unicode.mspx

I don't see anything in this article, either, that supports the notion that 
UTF-8 is incapable of encoding any sequence of Unicode code points, or any 
range of 16-bit values. Again, which part of this article are you talking 
about, specifically?

It does discuss surrogate pairs. There's a section by that name that talks 
about what the characters are, and what they're for. Perhaps the point you're 
trying to make is that this can result in "millions" of characters, which a 
4-byte UTF-8 character can't handle?

The Unicode standard only defines up to U+10FFFF, which fits just fine (see, 
again, the table that appear in both the Wikipedia article and the Microsoft 
article). If they define additional planes above this, they'll just put the 5- 
and 6-byte UTF-8 characters back in the spec like they were before. Unicode 
will still be encodable in UTF-8.

Sixten


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261007
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to