Solaris Internationalization Guide For Developers

How to Use the iconv Command

The iconv command converts the characters or sequences of characters in a file from one codeset to another, then writes the results to standard output. If there is no conversion for a particular character, it is converted into an underscore `_' in the target codeset. See the iconv(1) man page for more information.

The following options are supported:

To convert a mail file from one encoding into another, use the iconv command:

example% iconv -f from_codeset -t to_codeset mail.codeset > mail.codeset