1.0.0 • Published 5 months ago
gbk2utf8 v1.0.0
gbk to utf-8
convert cpp files.
const { gbk_to_utf8, check_file_coding } = require('gbk_to_utf8')
let file_coding = check_file_coding('/path/to/file')
gbk_to_utf8('/path/to/dir/*.cpp')
gbk_to_utf8([
'/path/to/dir/**/*.h',
'/path/to/dir/**/*.cpp'
])
1.0.0
5 months ago