awtk/tools/remove_utf8_bom
2020-03-24 16:36:02 +08:00
..
index.js add remove_utf8_bom 2020-03-24 16:36:02 +08:00
README.md add remove_utf8_bom 2020-03-24 16:36:02 +08:00

去掉UTF-8前的BOM

有的编译器不支持UTF-8 BOM此时需要取到去掉UTF-8 BOM文件的BOM.

用法(bash)

find src -name \*.h -exec node tools/remove_utf8_bom/index.js {} \;

请安装nodejs