1.0.2 • Published 8 years ago

u2g v1.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

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

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago