1ISUTF8(1)                          moreutils                         ISUTF8(1)
2
3
4

NAME

6       isutf8 - check whether files are valid UTF-8
7

SYNOPSIS

9       isutf8 [-hqliv] [--help] [--quiet] [--list] [--invert] [--verbose]
10              [[file]]
11

DESCRIPTION

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

OPTIONS

18       -h, --help
19           Print out a help summary.
20
21       -q, --quiet
22           Don't print messages telling which files are invalid UTF-8, merely
23           indicate it with the exit status.
24
25       -l, --list
26           Print only the names of files containing invalid UTF-8.
27
28       -i, --invert
29           Invert the selection: list UTF-8 compatible files.
30
31       -v, --verbose
32           Also print an hexdump-like view of the error and some context.
33

EXIT STATUS

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

AUTHOR

39       Lars Wirzenius, Julien Palard
40

SEE ALSO

42       utf8(7)
43
44
45
46moreutils                         01/19/2023                         ISUTF8(1)
Impressum