uchardet is an encoding detector library and command-line tool 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.

WWW: https://www.freedesktop.org/wiki/Software/uchardet/
