usage: chardetect [-h] [--minimal] [-e {modern_web,legacy_iso,legacy_mac,legacy_regional,dos,mainframe,all}] [--version] [files ...] Detect character encoding of files. positional arguments: files Files to detect encoding of options: -h, --help show this help message and exit --minimal Output only the encoding name -e, --encoding-era {modern_web,legacy_iso,legacy_mac,legacy_regional,dos,mainframe,all} Encoding era filter --version show program's version number and exit