标题: linux文件编码查看转换工具 [打印本页] 作者: Qter 时间: 2020-1-5 16:00 标题: linux文件编码查看转换工具 ASCII:American Standard Code for Information Interchange 美国信息交换标准代码
ANSI:American National Standards Institute 美国国家标准学会
ANSI 只是 Windows 系统中对于默认编码格式的定义,中文 Windows 中 ANSI 就是 GB18030,繁体中文的 ANSI 就是 Big5 等等。
1.检查文件编码file命令
file ip.txt
ip.txt: UTF-8 Unicode English text