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:
-f fromcode Symbol of the input codeset.
-t tocode Symbol of the output codeset.
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