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.
chardet module was written by Mark Pilgrim <email@example.com>
This manual page was written by Piotr Ożarowski <firstname.lastname@example.org>, for the Debian project (but may be used by others).