[rt-users] Feature request: "Smart" email output encoding

Leif Nixon nixon at nsc.liu.se
Mon Dec 13 11:12:48 EST 2004


"Ruslan U. Zakirov" <Ruslan.Zakirov at acronis.com> writes:

> Leif Nixon wrote:
>> I'd like to have a setting, say @EmailOutputEncodings, which is a
>> list
>> of encodings to try. The first encoding that safely encodes the email
>> should be selected. A reasonable default value might be
>> qw(us-ascii iso-8859-1 utf-8).
>>
> Same here with free email providers. Today I sent bug letter to
> postmaster of the one :)
>
> IMHO such approach has big perfomance penalties.

Do you think so? My hunch is that the time spent trying one or two
additional encodings should be rather small compared to, say, the
scrip firing sequence that led to the mail being sent in the first
place.

> But I agree this option is required with some additions:
> 1) This option should by per queue.
> 2) Logic should be fuzzy. If you try 'xxx' encoding and less then 1%
> of the characters were not converted then encoding is ok.

Well, *that* should certainly be configurable, if implemented. I would
much rather prefer the mail to be encoded in UTF-8 than have any
unreadable characters.

-- 
Leif Nixon                                    Systems expert
------------------------------------------------------------
National Supercomputer Centre           Linkoping University
------------------------------------------------------------



More information about the rt-users mailing list