[Home] [By Thread] [By Date] [Recent Entries]


In article <4368C783.3070008@s...> you write:
>UTF-8 uses 6 bytes for ISO/IEC 10646
>UTF-8 uses 4 bytes for Unicode

UTF-8 would need 6 bytes to represent code points up to 2^31-1, but
the Unicode codespace only goes to 10ffff, so only 4 bytes are needed
for Unicode characters.  10ffff is (presumably not coincidentally) the
limit of what UTF-16 can represent using surrogates.

-- Richard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member