Converts the encoding of characters from one code page encoding scheme to another.
iconv -f FromCode -t ToCode [ FileName... ]
The iconv command converts the encoding of characters read from either standard input or the specified file from one coded character set to another and then writes the results to standard output. The input and output coded character sets are identified by the FromCode and ToCode parameters. The input data should consist of characters in the code set specified by the FromCode parameter. If the FileName parameter is not specified on the command line, the iconv command reads from standard input.
You can use a Web-based System Manager System application (wsm system fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit iconv fast path to run this command.
The list of supported code set converters is provided in "List of Converters" in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
This command returns the following exit values:
iconv -f IBM-850 -t ISO8859-1 mail.x400 > mail.local
iconv -f fold7 -t IBM-eucJP mail.junet > mail.local
iconv -f IBM-943 -t fold7 mail.local | mail fxrojas
The genxlt command describes how to define a conversion table.
The iconv subroutine, iconv_close subroutine, and iconv_open subroutines provide a method to use the conversion service from within a program.
Converters Overview in AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide.
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.
Converters Overview for Programming in AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide.