Nope.

Unicode is REPRESENTED in coldfusion / java as exactly two bytes of data (a
hex value), period.
However, what we're talking about here is RENDERING DBCS in a browser.

If you're using a character set that uses 7 bits for US ascii and the 8th
for special characters, that's fine. But, if you're using a charset that
utilizes the second byte, UTF8 will not be a suffiencent encoding and you'll
have garbling on some characters.

-Phillip

-----Original Message-----
From: Sixten Otto [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 17, 2006 1:12 PM
To: CF-Talk
Subject: Re: Convert UTF-8 to ISO-8859-1 under CF5

Phillip Holmes wrote:
>Think of UTF-8,16, etc as the telephone line and the charset as the 
>conversation over it.
>For DBCS(double byte character sets), you'll need UTF-16 (double byte 
>telephone line) to properly handle the charset.

Huh? If that were true, how would you ever use UTF-8 to encode Unicode data?
(Which is what it's generally used for; and Unicode actually has more than
two bytes worth of characters now.)

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:260943
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to