查看文件encode方式 1. 打开终端terminal,找到要查看的文件位置,ls: 2. 以 test.txt 为例,输入以下命令 vim test.txt 3. 然后输入以下命令: :set 就得到encode方式