把以下设置添加到.vimrc中。
set encoding=utf-8set fileencodings=utf-8,chinese,latin-1if has("win32") set fileencoding=chineseelse set fileencoding=utf-8endiflanguage message zh_CN.utf-8"解决菜单乱码source $VIMRUNTIME/delmenu.vimsource $VIMRUNTIME/menu.vim"set fontset guifont=Nsimsun
转自:http://www.cnblogs.com/shipfi/archive/2008/04/07/1140025.html