[rt-users] Email encoding
Ruslan U. Zakirov
cubic at acronis.ru
Mon Jan 12 03:12:09 EST 2004
Samuel Tardieu wrote:
> I have a problem with encoding of tickets.
>
> I send mail to RT with "Content-Type: text/plain; charset=iso-8859-1".
> In RT (WWW interface), they show up as improper utf-8 characters.
>
> Moreover, when I send mail through RT, recipients get a mail with
> improper accents to, with:
>
> Managed-BY: RT 3.0.8 (http://www.bestpractical.com/rt/)
> X-RT-Original-Encoding: utf-8
> Content-Type: text/plain; charset="iso-8859-1"
>
> Is there a way to get a real conversion iso-8859-1 -> utf-8 when a
> mail enters RT? Settings in RT_SiteConfig.pm are:
RT do convert all text parts of emails to UTF-8 and store it in DB.
Internaly RT always try to work with UTF-8.
WebUI always work with UTF-8 encoding, except when you touche download
href, RT use original encoding here.
Outgoing email encoding can be chosen with $EmailOutputEncoding config
option and could be only one. By default it's UTF, but you've changed
this to 'iso-8859-1'(below).
>
> @EmailInputEncodings = qw(iso-8859-1 utf-8 us-ascii) unless (@EmailInputEncodings);
This option used only if RT fail input encoding detection of email part
then it use Encode::GUESS with your list.
> Set($EmailOutputEncoding , 'iso-8859-1');
This is used when RT send emails. I use UTF(default), I have to because
of multilang.
>
> Thanks in advance.
>
> Sam
More information about the rt-users
mailing list