On 27/04/09 22:00, smu johnson wrote:
> Hi,
>
> I have done both things, recompiled etc, and still encounter the same
> problem.
>
> sjohn...@web2:~$ vim --version | grep multi
> -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm *+multi_byte*
> +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl
> +postscript
>
> sjohn...@web2:~$ vim --version | grep Big
> *Big* version without GUI. Features included (+) or not (-):
>
> I am tempted to possibly record a video of this happening, as it is
> driving me nuts that I can't do any Japanese IME input in Vim anymore.
> The problem also happens if I start vim without any file-to-edit params,
> and type in japanese. As soon as I Escape out of Insert mode, it screws
> the chars up.
>
> 1 ▒~L▒m▒~A~J
> 2 ▒~A~O▒~B~B
>
> That's what the text looks like, instead of JP characters.
>
> Any help greatly appreciated. Like I said before, it all changed after
> I upgraded Vim :(
>
- Is your Vim compiled with +iconv ?
:echo has('iconv')
will tell you (zero means "no", nonzero means "yes"). If it isn't,
you'll need to recompile after installing the iconv and iconv-dev (or
something) packages. Vim needs the iconv library to convert between any
two encodings, at least one of which is neither Latin1 nor one of the
various flavours of Unicode (utf-8, ucs-2, ucs-2le, utf-16, utf-16le,
ucs-4, ucs-4le). (When endianness is not specified, Vim uses big-endian;
and even though GB18030 could be regarded as a "Unicode" encoding, it
still requires iconv.)
- What is the encoding of your data file? If it is Shift-Jis, you should
be able to open it (after your vimrc sets 'encoding' to UTF-8) by using
:e ++enc=sjis filename.ext
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
19. All of your friends have an @ in their names.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---