system mail

JB jb.123abc at
Mon Jul 26 16:55:00 UTC 2010

Petrus de Calguarium <kwhiskerz at ...> writes:

> When I receive system mail, I read it on the command line with the 'mail'
program. It appears to be called
> Heirloom Mail version 12.4 7/29/08.
> Now, as I scroll down, I see that the system mail is sent as:
> Content-Type: text/plain; charset="ANSI_X3.4-1968"
> However, my system is set up to use UTF-8. Why is this charset wrong, or not
respecting my system setting? How
> can I get it corrected?
$ man mail
              A comma-separated list of character set names that can  be  used
              in  Internet  mail.  When a message that contains characters not
              representable in US-ASCII is prepared for sending,  mailx  tries
              to convert its text to each of the given character sets in order
              and uses the first appropriate one.  The default is ‘utf-8’.

              Character sets assigned to this variable should  be  ordered  in
              ascending  complexity.  That is, the list should start with e.g.
              ‘iso-8859-1’ for compatibility with older  mail  clients,  might
              contain  some other language-specific character sets, and should
              end with ‘utf-8’ to handle messages that combine texts in multi-
              ple languages.

$ cat /etc/mail.rc
# Outgoing messages are sent in ISO-8859-1 if all their characters are
# representable in it, otherwise in UTF-8.
set sendcharsets=iso-8859-1,utf-8


More information about the users mailing list