vim乱码1sudo vim /etc/vimrc 2.找到空白一行添加下面3行内容 1234set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936set termencoding=utf-8set encoding=utf-8