3.0.0 • Published 3 months ago

@cmbuckley/toutf8 v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 months ago

toutf8

Convert any input to UTF-8 by detecting its encoding.

This uses Google's Compact Encoding Detection to guess the encoding, before converting from that encoding to UTF-8.

Installation

Install with npm globally:

npm install --global @cmbuckley/toutf8

Usage

toutf8 [inputfile]...

The toutf8 program detects the most likely character encoding of text and converts it to UTF-8. All the inputfile arguments will be read and converted. If no input files are provided, standard input is used. The converted text is printed to standard output.

toutf8 < random-encoding.txt > utf8.txt
3.0.0

3 months ago

2.0.1

1 year ago

2.0.0

2 years ago

1.1.4

2 years ago

1.1.1

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago