Universal character encoding detector
chardet [file ...]
Report heuristically-detected character encoding for each file.
For every specified file (defaulting to stdin if no files are specified), reads and determines the character encoding of the file content. Reports the name and confidence level for each file's detected character encoding.
/usr/share/doc/python-chardet-doc/index.html
chardet module was written by Mark Pilgrim <[email protected]>
This manual page was written by Piotr Ożarowski <[email protected]>, for the Debian project (but may be used by others).