中文博客:https://www.cnblogs.com/lijia0511/p/5644566.html
英文原文:http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/
:dig 查看ascii码
:set fileencoding
:set fileencoding=utf-8 latin-1
:set encoding
:set encoding=utf-8 latin-1
Ctrl+v+096(十进制)
Ctrl+v+u+00ff(十六进制)
vim -b打开 设置 :set noeol 取消自动行尾添加回车符号
cmp -b 1.txt 2.txt 逐字节比较文件
vim -b file-to-open.dat 然后用xxd把文件转换成十六进制格式 :%!xxd