gvim7.2乱码解决

On 2010年10月8日, in tips, by netoearth

安装gvim7.2后,装上中文文档,菜单栏变成乱码,

解决:菜单—编辑—启动设定—复制下面内容进去

set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
if has(“win32”)
set fileencoding=chinese
else
set fileencoding=utf-8
endif
“解决菜单乱码
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
“解决consle输出乱码
language messages zh_CN.utf-8

Tagged with:  

Comments are closed.