HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

i
iconv(1) iconv(1)
LC_MESSAGES determines the locale that should be used to affect the format and contents of diagnostic
messages written to standard error and informative messages written to standard output.
NLSPATH determines the location of message catalogs for the processing of
LC_MESSAGES .
International Code Set Support
Single and multi-byte character codesets are supported.
RETURN VALUE
iconv returns the following values:
0 Successful completion.
>0 An error occurred.
EXAMPLES
Convert the contents of file foo from codeset Roman8 to ISO 8859/1 and store the results in file
bar.
iconv -f roman8 -t iso8859_1 foo > bar
WARNINGS
If an input character does not have a valid equivalent in the codeset selected by the -t
option (the "to"
codeset), it is mapped to the "galley character", if it has been defined for that conversion (see genxlt(1) and
iconv(3C)).
If an input character does not belong to the codeset selected by the
-f option (the "from" codeset), the com-
mand terminates.
FILES
/usr/lib/nls/iconv/config.iconv
User customizable iconv configuration file.
/usr/lib/nls/iconv/system.config.iconv
System iconv configuration file, containing code names supported by the operating
system
AUTHOR
iconv was developed by HP.
SEE ALSO
getopt(3C), iconv(3C).
STANDARDS CONFORMANCE
iconv: XPG2, XPG3, XPG4, UNIX 2003
440 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007