1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
11 .TH ICONV 1 "February 20, 2001" "GNU" "Linux Programmer's Manual"
13 iconv \- character set conversion
15 iconv [\fB-f\fP \fIencoding\fP] [\fB-t\fP \fIencoding\fP] [\fIinputfile\fP ...]
17 The \fBiconv\fP program converts text from one encoding to another encoding.
18 More precisely, it converts \fBfrom\fP the encoding given for the \fB-f\fP
19 option \fBto\fP the encoding given for the \fB-t\fP option. Either of these
20 encodings defaults to the encoding of the current locale. All the
21 \fIinputfile\fPs are read and converted in turn; if no \fIinputfile\fP is
22 given, the standard input is used. The converted text is printed to standard
25 The encodings permitted are system dependent. For the libiconv implementation,
26 they are listed in the iconv_open(3) manual page.
28 .BR iconv_open "(3), " locale (7)