1 <?xml version=
"1.0" encoding=
"utf-8"?>
5 Copyright 2006 Lars Wirzenius (liw@iki.fi)
7 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15 Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook V4.4//EN"
24 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
31 <firstname>Lars
</firstname>
32 <surname>Wirzenius
</surname>
33 <email>liw@iki.fi
</email>
36 <firstname>Julien
</firstname>
37 <surname>Palard
</surname>
38 <email>julien@palard.fr
</email>
44 <refentrytitle>isutf8
</refentrytitle>
45 <manvolnum>1</manvolnum>
46 <refmiscinfo class=
"manual">moreutils
</refmiscinfo>
47 <refmiscinfo class=
"source">moreutils
</refmiscinfo>
51 <refname>isutf8
</refname>
52 <refpurpose>check whether files are valid UTF-
8</refpurpose>
57 <command>isutf8
</command>
58 <arg><option>-hqliv
</option></arg>
59 <arg><option>--help
</option></arg>
60 <arg><option>--quiet
</option></arg>
61 <arg><option>--list
</option></arg>
62 <arg><option>--invert
</option></arg>
63 <arg><option>--verbose
</option></arg>
65 <arg rep=
"repeat"><replaceable>file
</replaceable></arg>
71 <title>DESCRIPTION
</title>
73 <para><command>isutf8
</command> checks whether files are
74 syntactically valid UTF-
8. Input is either files named on the
75 command line, or the standard input. Notices about files with
76 invalid UTF-
8 are printed to standard output.
</para>
81 <title>OPTIONS
</title>
86 <term><option>-h
</option></term>
87 <term><option>--help
</option></term>
89 <para>Print out a help summary.
</para>
94 <term><option>-q
</option></term>
95 <term><option>--quiet
</option></term>
97 <para>Don't print messages telling which files are
98 invalid UTF-
8, merely indicate it with the exit
104 <term><option>-l
</option></term>
105 <term><option>--list
</option></term>
107 <para>Print only the names of files containing invalid
113 <term><option>-i
</option></term>
114 <term><option>--invert
</option></term>
116 <para>Invert the selection: list UTF-
8 compatible
122 <term><option>-v
</option></term>
123 <term><option>--verbose
</option></term>
125 <para>Also print an hexdump-like view of the error and some
135 <title>EXIT STATUS
</title>
137 <para>If the file is valid UTF-
8, the exit status is zero.
138 If the file is not valid UTF-
8, or there is some
139 error, the exit status is non-zero.
</para>
144 <title>AUTHOR
</title>
147 Lars Wirzenius, Julien Palard
152 <title>SEE ALSO
</title>
156 <refentrytitle>utf8
</refentrytitle><manvolnum>7</manvolnum>