1ICONV(1) General Commands Manual ICONV(1)
2
3
4
6 iconv - Convert encoding of given files from one encoding to another
7
9 iconv --ff encoding --tt encoding inputfile
10
12 The iiccoonnvv program converts the encoding of characters in inputfile from
13 one coded character set to another. The result is written to standard
14 output unless otherwise specified by the ----oouuttppuutt option.
15
16 IInnppuutt//OOuuttppuutt ffoorrmmaatt ssppeecciiffiiccaattiioonn::
17 ----ffrroomm--ccooddee, --ff encoding
18 Convert characters from encoding
19
20 ----ttoo--ccooddee, --tt encoding
21 Convert characters to encoding
22
23 IInnffoorrmmaattiioonn::
24 ----lliisstt List known coded character sets
25
26 OOuuttppuutt ccoonnttrrooll::
27 --cc omit invalid characters from output
28
29 ----oouuttppuutt, --oo file
30 Specify output file (instead of stdout)
31
32 ----ssiilleenntt, --ss
33 suppress warnings
34
35 ----vveerrbboossee
36 Print progress information.
37
38 --??, ----hheellpp
39 Give this help list
40
41 ----uussaaggee
42 Give a short usage message
43
44 --VV, ----vveerrssiioonn
45 Print program version
46
48 Following examples convert from code set ISO88592 "input.txt" to UTF8
49 code set or ASCII and stores the result as "output.txt".
50
51 iiccoonnvv --ff IISSOO8888559922 --tt UUTTFF88 << iinnppuutt..ttxxtt >> oouuttppuutt..ttxxtt
52
53 iiccoonnvv --ff IISSOO8888559922 --tt AASSCCIIII////TTRRAANNSSLLIITT << iinnppuutt..ttxxtt >> oouuttppuutt..ttxxtt
54
55
57 iconv is written by Ulrich Drepper as part of the GNU C Library.
58
59 This man page is written by Joel Klecker <espy@debian.org>, for the
60 Debian GNU/Linux system.
61
62
63
64
65
66
67
68
69
703rd Berkeley Distribution March 2001 ICONV(1)