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? Best regards, Yongwei -- Wu Yongwei URL: http://wyw.dcweb.cn/
