chardet − 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 <mark AT diveintomark DOT org>
This manual page was written by Piotr Ożarowski <piotr AT debian DOT org>, for the Debian project (but may be used by others).