A,"设置文件的代码形式
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,cp936
set fileencoding=gb2312
set termencoding=utf-
B,"vim的菜单乱码解决:
"同样在 _vimrc文件里以上的中文设置后加上下列命令,
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
language messages zh_CN.utf-8
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
C,"vim提示信息乱码的解决
language messages zh_CN.utf-8
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,cp936
set fileencoding=gb2312
set termencoding=utf-
B,"vim的菜单乱码解决:
"同样在 _vimrc文件里以上的中文设置后加上下列命令,
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
language messages zh_CN.utf-8
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
C,"vim提示信息乱码的解决
language messages zh_CN.utf-8