Re: Diff between UCS-2 and UTF-16

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Thu Oct 05 2000 - 09:13:01 EDT


The difference btewen the two is that UTF-16 allows for the encoding of
surrogate pairs to represent code points beyond the 2^16 that would be
allowed, and UCS-2 does not.

Otherwise, they are identical.

You can get more information on surrogate pairs on the Unicode site. I
myself would suggest that you might want to spend some time using the FAQ on
the site as the majority of the questions you are asking here are actually
covered there. Then you could save asking us for the cases that you are
confused about. :-)

michka

a new book on internationalization in VB at
http://www.i18nWithVB.com/

----- Original Message -----
From: "Sandeep Krishna" <sandeepkrishna@noida.hcltech.com>
To: "Unicode List" <unicode@unicode.org>
Cc: "Jianping Yang" <Jianping.Yang@oracle.com>; "Simon K. Wong"
<Simon.Wong@oracle.com>; "Bob Verbrugge" <bverbrug@redwood.nl>;
<Jukka.Korpela@hut.fi>; <michael.yau@oracle.com>; "Michael (michka) Kaplan"
<michka@trigeminal.com>
Sent: Thursday, October 05, 2000 5:53 AM
Subject: Diff between UCS-2 and UTF-16

hi guys,

can someone pls tell me what is the difference between UCS-2 and UTF-16...
both seem to be 16-bit or double byte representation of Unicode code
points....

so whats the differencve... in their coding schemes?? or what else???

pls this is urgent................

regards,

Sandeep

****************************************************************************
*******************
        SANDEEP KRISHNA
Member Technical Staff (Priceline.com)
H.C.L. Technologies Limited
A-1 C&D, Sector -16, NOIDA, UP, India.
Ph: 91-11-91-4516321 (extn. 1062)
Fax: 91-11-91-4510713, 4510226
E-Mail : sandeepkrishna@noida.hcltech.com

                        ~Don't frown, because you never know who's falling
in love with your smile!~



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:14 EDT