vim中文乱码解决 1、编辑/etc/vim/vim/vimrc文件,底部增加配置信息 set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencoding=utf-8 set encoding=utf-8