On 8/20/06, Yongwei Wu <[EMAIL PROTECTED]> wrote:
This is really an old problem. It begins with VIM 6.

While it is possible to set encoding=UTF-8 on Windows to be able to
process text file in multiple encodings at the same time, the
localized menu/messages has problems. The simplest _vimrc one may
think of will render anything except the menu incorrect:

set encoding=utf-8
source $VIMRUNTIME/vimrc_example.vim

Reverse the order of these two lines will make the tool tips of the
toolbar buttons correct, but the menu will be corrupt, as well as all
the localized messages.

The best I can get is with this _vimrc (simplified):

source $VIMRUNTIME/vimrc_example.vim
set encoding=utf-8
lang messages zh_CN.UTF-8
runtime! delmenu.vim

In the time of Vim 6, it works well, except the tool tips for the
toolbar buttons. I have to disable the toolbar translations in
menu_zh_cn.utf-8.vim to make it work perfectly.

With the new tab support in Vim 7, more headaches come. When I use
localized messages, the context menu on the tabs (Close tab, New tab,
and Open tab ...) is corrupt and the text is unreadable. Since the
translation seems not in a .vim file, I find nowhere to fix it.
Editing vim.mo might work, but it seems too incovenient and
unreliable.

The problem, as it seems to me, is that the context menu on the tab
and the tool tips for the toolbar buttons only support the `ANSI'
encoding.

Any fixes/hacks to make it work?

I knew that. I'll debug it soon. Before I hack out this problem, you
can still do some blaming work to Micro$oft for its *so wonderful*
multilinguagiation mechanics.

I'm sorry but I'm not going to work out this problem for Vim6. So
you'll have to upgrade to Vim7 even if I could solve the problem...

Best regards,

Yongwei
--
Wu Yongwei
URL: http://wyw.dcweb.cn/


Regards,

Edward L. Fox

Reply via email to