gvim

vim gvim 乱码 解决办法

Posted by bower on March 11, 2011
VIM / No Comments

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

打开启动设定,输入以下代码 gvim 启动设定在编辑菜单里

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

Tags: