63288Re: Cannot input Chinese character "文" in vim
- Dec 4, 2011I installed Vim 7.3.363 (32-bit).
After I start Vim (not gVim) as vim.exe -N -u NORC as recommended by
the reply to :set enc tenc is
Still, "文" is not accepted by vim.exe.
However, I can input "文(cp936 0xcec4)" as ^vucec4.
On Dec 4, 1:53 am, Tony Mechelynck <antoine.mechely...@...>
> On 03/12/11 15:58, Fuzzier wrote:--
> > Hello!
> > I'm trying to input a Chinese character "文" (U+6587) in vim.
> > However, it seems vim refuses to accept the character.
> > I changed the encoding from the default cp936 to utf8, but it doesn't help.
> > In gvim, everything is OK.
> > My OS is Simplified Chinese Windows 7 Home Basic (64-bit).
> > The installed vim/gvim version is 73_46 (32-bit).
> > Please help!
> > 0: View current encoding
> > 1: try to input "文"
> > 2: after selecting the character "文"
> > 3: try to input "文明"
> > 4: "文" is missing, only "明" is accepted
> Hm, strange. Does it work if you disable the IME and use "pure Vim"
> input techniques? e.g. Ctrl-V u 6587 (without the spaces) — replace
> Ctrl-V by Ctrl-Q if you use Ctrl-V to paste — see :help i_CTRL-V_digit —
> I know it ought to work with 'encoding' set to UTF-8, I don't know about
> What is the reply to
> :set enc? tenc?
> - in your usual Vim
> - after starting Vim as
> vim -N -u NORC
> Do you know the cp936 representation of the problematic character? In
> UTF-8 it is represented as hex E6 96 87 which doesn't ring a bell with
> me as a possible source of problems.
> Or you might try installing Vim 7.3.363 (32-bit Windows version) fromhttp://sourceforge.net/projects/cream/files/Vim/
> Best regards,
> Finagle's Second Law:
> No matter what the anticipated result, there will always be
> someone eager to (a) misinterpret it, (b) fake it, or (c) believe it
> happened according to his own pet theory.
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>