charset-convert

2.0.0 • Public • Published

charset-convert

Command line utility to convert text file from one charset to another.

Dependency

  • node.js, npm
  • iconv-lite (auto installed as dependency)

Install

[sudo] npm install -g charset-convert

How To Use

charset-convert <in file> <out file> -i <in encoding> -o <out encoding>

Example:

charset-convert demo-gbk.txt demo-utf8.txt -i gbk -o utf8

How It Works

This CLI utility is implemented based on iconv-lite, a great charset decoding/encoding module for node.js

Credits

A simple tool created by Raymond Xie, to install IPA package with command line.

Any comments are welcome.

Package Sidebar

Install

npm i charset-convert

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • floatinghotpot