On Fri, 14 Nov 2008, Dominique Pelle wrote:
>
> In the second paragraph of ":help unicode", I read:
>
> <<
> Unicode can be encoded in several ways. The two
> most popular ones are UCS-2, which uses 16-bit
> words and UTF-8, which uses one or more bytes
> for each character.
> >>
>
> I think this should be updated. The two most
> popular ones are UTF-16 and UTF-8. From wikipedia,
> "UCS-2 is an obsolete character encoding which is
> a predecessor to UTF-16".
>
> Furthermore, strictly speaking, UCS-2 is not a
> Unicode encoding, since it can only represent
> characters in the Unicode page 0.
>
> UTF-16 and UCS-2 are too often confused with
> each other. Let's not add to the confusion in Vim
> help files.
I didn't disagree to your proposal. But actually m$ itself does not
use utf-16 in all its products. IIRC win9x/me use ucs-2 and vi$ta
should utf-16. winxp sits in between, it used ucs-2 in the beginning
and some patches were issued to make some component (eg chinese ime)
utf-16 awared.
I think that ucs-2 is still more popular than utf-16 in that the
number of program of that support ucs-2 but not utf-16 is greater than
that support utf-16. Anyway just a wild guess, who cares for utf-16.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩233 李白 夜思
床前明月光 疑是地上霜 舉頭望明月 低頭思故鄉
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---