修改服務器端, 在/etc/vim/vimrc文件末尾加上vim
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936set termencoding=utf-8set encoding=utf-8服務器