1.0.2 • Published 8 years ago
u2g v1.0.2
U2g(utf-8 to gbk)
Convert the encoding of single file form utf-8 to chinese gbk.
Installation
NPM
npm install u2g --save-dev
Usage
var u2g = require('u2g')
var path = require('path')
//the file you want to convert
var sourceFile = path.resolve('./bundle-utf8.js')
var outputFile = path.resolve('./bundle-gbk.js')
u2g(sourceFile, outputFile)
Licence
MIT