运维网's Archiver
论坛
›
Windows Server
› Linux 打开windows .txt 文件乱码解决方法
wang_rx
发表于 2018-6-15 10:32:37
Linux 打开windows .txt 文件乱码解决方法
2、解决VI编辑器打开txt文件中文乱码问题: 打开VI配置文件 添加以下配置命令即可
let &termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936
set fenc=utf-8 " default fileencoding
set fencs=utf-8,gb18030,gbk,gb2312,cp936,ucs-bom,euc-jp
页:
[1]
查看完整版本:
Linux 打开windows .txt 文件乱码解决方法