1.安装依赖库
yum install cjkun* wqy* -y
2.修改vim配置
vim /etc/vimrc
在文件头部添加
set fileencodings=ucs-bom,utf-8,latin1
set termencoding=utf-8
set fileformats=unix
set encoding=prc
yum install cjkun* wqy* -y
vim /etc/vimrc
在文件头部添加
set fileencodings=ucs-bom,utf-8,latin1
set termencoding=utf-8
set fileformats=unix
set encoding=prc