[rt-users] mail-body encoding, can't use letters that's in iso-8859-1
Ruslan U. Zakirov
cubic at acronis.ru
Fri Sep 19 12:04:29 EDT 2003
Realhost I/S - Rene Brask Sørensen wrote:
> Ruslan U. Zakirov wrote:
>
>> Hello.
>> As I've understood RT3 store everything in UTF8 encoding in DB, but
>> could generate mails in other Encoding.
>> Thus you have to change default encoding in httpd.conf to
>> AddDefaultCharset UTF-8...
>> Hopes this helps...
>
>
> Ahh ok, did'nt know that. But then rt have to translate everything all
> the time.
Nop. Only when RT get email and send email, but this feature allow RT
handle several encodings at the same time.
>
> What I don't understand is why you wan't me to change default charset
> i apache to utf8. I would like rt to display letters in iso-8859-1
> charset. Maybee I'm misunderstanding something here, but it would seem
> intuitive to set "AddDefaultCharset ISO-8859-1".
Apache do not do any encoding conversions with this option, but set
specified encoding in response headers. You must set this option to
UTF-8 because of RT. RT output content to browser in UTF-8 and don't do
any encoding conversions. What is a problem with it? Your browser
doesn't support UTF?
>
>
> Best regards
>
> Rene brask
>
>
>
>>
>>
>>>>
>>>> Done that and my setting is :
>>>> Set($EmailOutputEncoding , 'iso-8859-1');
>>>>
>>>> Here is all my settings regarding the charset config. :
>>>>
>>>> @LexiconLanguages = qw(*) unless (@LexiconLanguages);
>>>> @EmailInputEncodings = qw(iso-8859-1 us-ascii) unless
>>>> (@EmailInputEncodings);
>>>> Set($EmailOutputEncoding , 'iso-8859-1');
>>>>
>>>> in my vhost.conf (apache conf) i have : "AddDefaultCharset ISO-8869-1"
>>>>
>>>> And besite that, I have used a fresh installation of rt (v-3.0.5).
>>>>
>>>> Here is an ex. of a mail header. It's from the view of history in
>>>> the rt-webinterface and the ticket i made i the rt system.
>>>>
>>>> X-Mailer: MIME-tools 5.411 (Entity 5.404)
>>>> Content-Disposition: inline
>>>> Content-Type: text/plain; charset="utf-8"
>>>> Subject: æøå
>>>> MIME-Version: 1.0
>>>> Content-Transfer-Encoding: binary
>>>> X-RT-Original-Encoding: iso-8859-1
>>>> Content-Length: 12
>>>>
>>>>
>>>> æøå
>>>>
>>>> And what I'm wondering about is why the "charset=utf8"
>>>>
>>>> Best regrads
>>>>
>>>> Rene Brask
>>>>
>>>
>>>
>>> I now have increased the problem to the rt mailOutputencoding.
>>> Because when I send a mail to the rt system from a outside address,
>>> the encoding is fine ;) But when I later modify the text in the
>>> given ticket in rt, the encoding gets fucked (encoded in utf8). Same
>>> problem arise when I create a new ticket in the rt system, the text
>>> is encoded in utf8. So the BIG question is, how do I change this ?
>>>
>>> Best regards
>>>
>>> Rene Brask
>>>
>>> _______________________________________________
>>> rt-users mailing list
>>> rt-users at lists.fsck.com
>>> http://lists.fsck.com/mailman/listinfo/rt-users
>>>
>>> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>>
>>
>>
>>
>>
>
>
More information about the rt-users
mailing list