ubuntu vim 不能正常显示中文 vi /etc/vim/vimrc 在最后加入 set fileencodings=utf-8,gb2312,gbk,gb18030 set termencoding=utf-8 set encoding=prc 保存即可,vim便能正常显示中文。