【发布时间】:2017-12-27 15:59:42
【问题描述】:
我有一个带有 BOM 的 UTF-8 编码文件,并且想要删除该 BOM。是否有任何 linux 命令行工具可以从文件中删除 BOM?
$ file test.xml
test.xml: XML 1.0 document, UTF-8 Unicode (with BOM) text, with very long lines
【问题讨论】:
标签: linux file command-line utf-8 byte-order-mark