isutf8 man page

isutf8 — check whether files are valid UTF-8

Synopsis

isutf8 [-hq] [--help] [--quiet] [[file]]

Description

isutf8 checks whether files are syntactically valid UTF-8. Input is either files named on the command line, or the standard input. Notices about files with invalid UTF-8 are printed to standard output.

Options

-h, --help
Print out a help summary.
-q, --quiet
Don't print messages telling which files are invalid UTF-8, merely indicate it with the exit status.

Exit Status

If the file is valid UTF-8, the exit status is zero. If the file is not valid UTF-8, or there is some error, the exit status is non-zero.

Author

Lars Wirzenius

See Also

utf8(7)

Info

2006-02-19 moreutils moreutils