OS Manuals

/opt/airflow/bin/chardetect

Platform to programmatically author, schedule, and monitor workflows

From airflow-2 2.11.2-r28 (enterprise-packages), captured 2026-11-08 by running chardetect --help (exit 0). permalink

usage: chardetect [-h] [--minimal] [-l] [-e ENCODING_ERA] [--version] [input ...]

Takes one or more file paths and reports their detected encodings

positional arguments:
  input                 File whose encoding we would like to determine. (default: stdin)

options:
  -h, --help            show this help message and exit
  --minimal             Print only the encoding to standard output
  -l, --legacy          Rename legacy encodings to more modern ones.
  -e ENCODING_ERA, --encoding-era ENCODING_ERA
                        Which era of encodings to consider (default: MODERN_WEB). Choices:
                        MODERN_WEB, LEGACY_ISO, LEGACY_MAC, LEGACY_REGIONAL, DOS, MAINFRAME, ALL
  --version             show program's version number and exit
Options (4)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--minimalPrint only the encoding to standard outputhelp
-l, --legacyRename legacy encodings to more modern ones.help
--versionshow program's version number and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.