encoding_convertor

0.2.1 • Public • Published

encoding_convertor

编码转换,其它编码-utf-8,内置gbk映射,需要其它编码转换可去维基百科查找相关映射文件,格式为:otherencode:unicode\n... 保存为编码.txt或其它扩展名到encoding文件夹下。

Usage

var ec = require('encoding_convertor');

ec.convert(src, 'gbk', function(err, result){}); //src: gbk buffer, callback result: utf-8 string

Developing

Tools

Created with Nodeclipse (Eclipse Marketplace, site)

Nodeclipse is free open-source project that grows with your contributions.

Package Sidebar

Install

npm i encoding_convertor

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • qufulin