vim 修改文件编码

来源:互联网 发布:js中数组存储对象 编辑:程序博客网 时间:2024/05/16 09:43

察看编码:

:set fileencoding

 

设置编码为UTF-8:

:set fileencoding=utf-8