Libchardet is Mozilla's universal charset
detection library and detects the
character set used to encode data.

It is licensed under the MPL version 1.1
