CmdID

CmdID / Commands

isutf8

Check whether text files contain valid UTF-8. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check whether the specified files contain valid UTF-8

isutf8 path/to/file1 path/to/file2 ...Identify

Print errors using multiple lines

isutf8 --verbose path/to/file1 path/to/file2 ...Identify

Do not print anything to stdout, indicate the result merely with the exit code

isutf8 --quiet path/to/file1 path/to/file2 ...Identify

Only print the names of the files containing invalid UTF-8

isutf8 --list path/to/file1 path/to/file2 ...Identify

Only print the names of the files containing valid UTF-8 (the inverse of --list)

isutf8 --invert path/to/file1 path/to/file2 ...Identify