服務器tail輸出正常,vim打開中文亂碼

 

修改服務器端, 在/etc/vim/vimrc文件末尾加上vim

set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8服務器

相關文章
相關標籤/搜索