vim中文乱码的解决方法

/root/.vimrc

:set encoding=utf-8

:set fileencoding=utf-8

:set fileencodings=utf-8,ucs-bom,gbk,gb2312,cp936

Categories: 系统运维