Re: system mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JB wrote:

> Petrus de Calguarium <kwhiskerz@...> 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?
>> 
> Hi,
> $ man mail
> ...
>        sendcharsets
>               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
> ...
> 
> JB
> 
> 
> 
> 
> 
Ok, thanks. I believe this helped. Obviously, it is not a huge deal, but since fedora has utf-8 as system default, I always wondered why system mail was not delievered in utf-8. I edited mail.rc and will see if my next system mail is in utf-8. :-)

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux