set fileencoding 可查看当前文件编码
调整终端编码
vi ~/.vimrc
set fileencodings=utf-8,gb2312,gbk,gb18030,latin1
set termencoding=gbk
set fileformats=unix
set encoding=prc
set fileencoding 可查看当前文件编码
调整终端编码
vi ~/.vimrc
set fileencodings=utf-8,gb2312,gbk,gb18030,latin1
set termencoding=gbk
set fileformats=unix
set encoding=prc