[rt-users] Email output encoding and "RT Essentials"

Leif Nixon nixon at nsc.liu.se
Fri Oct 21 10:45:43 EDT 2005


Jesse Vincent <jesse at bestpractical.com> writes:

> On Fri, Oct 21, 2005 at 04:03:41PM +0200, Leif Nixon wrote:
>> This is exactly what I need! I'd really, really like outgoing e-mails
>> to be encoded in the simplest applicable encoding in the list
>> (us-ascii, iso-8859-1, utf-8).
>> 
>> However, this doesn't seem to be implemented as of the RT 3.5.5
>> snapshot, or am I mistaken?
>
> It should encoding in the first valid option in that list. 
> What behaviour are you seeing?

OK, now I have had another look at the code, and it seems I was
confused. Still am, for that matter. 8^)

What I was longing for was to be able to say something like

  @EmailOutputEncodings = qw(us-ascii iso-8859-1 utf-8);

in RT_SiteConfig.pm, and *that* functionality doesn't seem to be there.

On the other hand, I now discovered that I18N.pm has a *hardcoded*
fallback from $EmailOutputEncoding to iso-8859-1 to utf-8, so if I
change $EmailOutputEncoding from its default value utf-8 to us-ascii,
I should get my dream behaviour already in RT 3.4.4, right?

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



More information about the rt-users mailing list