-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 5/23/07 6:23 PM, Brian Kjelin Olsen wrote:
> To summarize: It is only the subject in the _outgoing_ mail from RT that has 
> wrong characters - the mail body looks fine (including Nordic national 
> characters).
> Everything inside RT looks fine and the subject is shown correctly in the 
> webui. Even checked the database tables and they're fine too.
> So my guess is, that it has to do with the mail-sender (whereever that is :))
>  
> Apache is configured with default charset as UTF-8
>     AddDefaultCharset UTF-8
> A bunch of additional charset is added in the httpd.conf 
> including latin1.
>  
>  In RT_SiteConfig.pm following is set:
>     @EmailInputEncodings = qw(iso-8859-1 us-ascii utf-8) 
>        unless (@EmailInputEncodings);
>     Set($EmailOutputEncoding , 'iso-8859-1');
>  
>  Does this answer your questions? 
>  
> Med venlig hilsen / Best regards
> Brian Kjelin Olsen
> Schilling A/S
> 


I had problems with subject encoding and 2-byte (japanese) characters.
especially with a mix of single-byte (ASCII) and 2-byte (japanese)
characters in the subject.  This problem was specifically noticable with
long subject lines that would need to be split in the headers.

it's been awhile since i've used RT (I changed jobs) so I don't remember
specifically the situation, but if I remember correctly, RT didn't
properly MIME encode the subject.  either it didn't properly terminate
and re-initiate the encoding per-line during a split, or if it did,
there were problems with it.

eventually I had to install Jcode.pl and use its encoding routines to
fix the problem for japanese.  This is probably related to the problems
you're seeing, although not likely Jcode.pl will have much effect on non
2-byte characters.

Either way, I suggest looking at the mail source to see the encoded
Subject: header information and check for problems there.

HTH

Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGV6j/E2gsBSKjZHQRAsxTAKDNG1AHcDOiZkMP6i7BV/GJL5fK9gCeNPNv
+PVYB7h0vcOPi7VXr6W+Jlk=
=0qC7
-----END PGP SIGNATURE-----
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to