修改服务器端, 在/etc/vim/vimrc(或/etc/vimrc)文件末尾加上
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
博客介绍了服务器端的修改操作,需在/etc/vim/vimrc(或/etc/vimrc)文件末尾添加编码设置,包括set fileencodings=utf-8等,以设置文件编码、终端编码和整体编码为utf - 8。
修改服务器端, 在/etc/vim/vimrc(或/etc/vimrc)文件末尾加上
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8

被折叠的 条评论
为什么被折叠?
