编辑文件 /etc/virc ,在末尾加3行: set fileencodings=utf-8,gb2312,gbk,gb18030 set termencoding=utf-8 set encoding=prc