vi查看文件乱码解决

vim打开文件

设置打开文件编码,并重新打开

:set fileencodings=utf-8

:e

或者

:e ++enc=utf-8

linux下打开中文乱码,set fileencodings=utf-8

 
喜欢 0
分享