ICONV(1,C) AIX Commands Reference ICONV(1,C)
-------------------------------------------------------------------------------
iconv
PURPOSE
Converts data encoded in one file or network code into another code.
SYNTAX
+----------------------------------------+
iconv --- -f code --- -t code ---| |-|
+- -d string -- -o filename -- filename -+
DESCRIPTION
The iconv command reads input from a named file or from standard input if no
input file is specified. The command converts the input from one code set into
another code set, directing the output to a specified file or to standard
output if no output file is specified.
Each of the supported code set names listed with the -f and -t flags below
indicate specific code sets, except for the code set named "ebcdic". This code
set name really specifies one of several different ebcdic code sets, as
determined by the setting of your current language and locale.
FLAGS
-d string Specifies a default string. If iconv does not support a
particular file or network code conversion, it puts the value of
string in your output file or standard output in place of
unrepresentable characters. If you do not specify string, iconv
uses the default value.
-f code Specifies the file or network code of the input file. The code
can be "pc850", "pc932", "8859-1", "ujis", or "ebcdic".
-t code Specifies the file or network code of the output file. The code
can be "pc850", "pc932", "8859-1", "ujis" or "ebcdic".
filename Designates the input file. If no file is specified, input is
read from standard input.
-o filename Designates the output file. If no file is specified, output is
directed to standard output.
RELATED INFORMATION
See the "Characters" chapter in the AIX MBCS Guide.
Processed November 8, 1990 ICONV(1,C) 1