Linux 查看文件编码 查看某个文件的编码格式;使用 vi 编辑器 打开文件; 按 Esc 输入 ” : set fileencoding “ 就会显示出来 文件的编码格式 : set fileencoding