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