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
language messages zh_CN.utf-8
 
摘自网友刘华栋博客,非原创

你可能感兴趣的:(中文,职场,乱码,解决,gvim,休闲)