src/uchardet-0.0.5/README.md

uchardet

uchardet is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are iconv-compatible.

uchardet started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation.

The original code of universalchardet is available at http://lxr.mozilla.org/seamonkey/source/extensions/universalchardet/

Techniques used by universalchardet are described at http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html

Supported Languages/Encodings

Installation

Debian/Ubuntu/Mint

apt-get install uchardet libuchardet-dev

Mageia

urpmi libuchardet libuchardet-devel

Fedora

dnf install uchardet uchardet-devel

Mac

brew install uchardet

Build from source

cmake .
make
make install

Usage

Command Line

``` uchardet Command Line Tool Version 0.0.5

Authors: BYVoid, Jehan Bug Report: https://github.com/BYVoid/uchardet/issues

Usage: uchardet [Options] [File]...

Options: -v, --version Print version and build information. -h, --help Print this help. ```

Library

See uchardet.h

Related Projects

License

Mozilla Public License Version 1.1



haven-jeon/Ruchardet documentation built on May 17, 2019, 3:06 p.m.