Linux Commands Examples

A great documentation place for Linux commands


universal character encoding detector


chardet [options] [file ...]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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.


-h, --help

show this help message and exit

see also



chardet module was written by Mark Pilgrim <mark[:at:]diveintomark[:dot:]org>

chardet script was written by Ben Finney <ben+python[:at:][:dot:]au>

This manual page was written by Piotr Ożarowski <piotr[:at:]debian[:dot:]org>, for the Debian project (but may be used by others).

How can this site be more helpful to YOU ?

give  feedback