On Sep 5, 2017, at 8:54 AM, Paul Gilmartin <[email protected]> wrote: > > Are you confusing UTF-16 and UCS-2? > https://en.wikipedia.org/wiki/UTF-16 > > UTF-16 (16-bit Unicode Transformation Format) is a character encoding > capable of encoding all 1,112,064 valid code points of Unicode. The > encoding is variable-length, as code points are encoded with one or two > 16-bit code units. (also see Comparison of Unicode encodings for a > comparison of UTF-8, -16 & -32) > > UTF-16 developed from an earlier fixed-width 16-bit encoding known as UCS-2 > (for 2-byte Universal Character Set) once it became clear that 16 bits were > not sufficient for Unicode's user community.[1]
I was trying to say what the second paragraph you quoted says, without explicitly mentioning UCS-2. At least part of the answer to “Why is there UTF-16?” is “Because once there was UCS-2.” -- Pew, Curtis G [email protected] ITS Systems/Core/Administrative Services ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
