macOS / binaries /

chardetect

/usr/local/bin/chardetect
Report file encodings

chardetect takes one or more file paths and reports their detected encodings.