[rt-users] Accent (diacritic) in attachment name -> diacritic in transaction subject broken

Pavel Šidlo pavel.sidlo at topdigital.cz
Sun Apr 1 14:46:03 EDT 2012


Hi,

I have problem with diacritic (accent) encoding (non English characters) 
for Czech language.

Subject with diacritic is broken when I add file attachment with 
diacritic. In test case I did:
- attached PŘÍLIŠŽLUŤOUČKÝKŮŇÚPĚLĎÁBELSKÉKÓDY.bin with any content

- filled subject PŘÍLIŠŽLUŤOUČKÝKŮŇÚPĚLĎÁBELSKÉKÓDY

- sent it as Correspond or Comment

- subject in RT frontend is set to:
PŘÍLIŠŽLUŤOUČKÝKŮŇÚPĚLĎÁBELSKÉKÓDY

- subject in Correspond e-mail notification is wrong:
PŘÍLIŠ ŽLUŤOUČKÝ KŮŇ ÚPĚL ĎÁBELSKÉ KÓDY

or encoded (equal sign is placed for space dividing only):
=======
Subject: 
=?UTF-8?B?W1RERyAjNDE1M10gUMOFwpjDg8KNTEnDhSAgw4XCvUxVw4XCpE9Vw4TCjEs=?=
  =?UTF-8?B?w4PCnSBLw4XCrsOFwocgw4PCmlDDhMKaTCDDhMKOw4PCgUJFTFNLw4PCiSBL?=
  =?UTF-8?B?w4PCk0RZ?=
=======

- subject in Comment e-mail notification is OK
- Data on transaction in Transaction table is OK

- in one transaction i saw opposite behavior so Subject was OK and 
attachment name was screwed. I was not able to reproduce this yet.

RT is installed on CentOS 5.8 with this enviroment:
- RT 4.0.5 upgraded from 3.8.7 (+ RT::Extension::CommandByMail)
   - logging is set to notice and is without any anomalies
- Apache + mod_perl2 (AddDefaultCharset UTF-8)
- MySQL 5.0.95 (DB and tables collation set to utf8_general_ci)
- Perl 5.8.8 (distribution package + additional required modules 
installed through CPAN)

I tried to update every Perl module RT depends on (according to 
informations in make testdeps) and clear Mason object cache without success.

I tried to reproduce this issue in test queue of 
issues.bestpractical.com without success (ticket 19692) so I suppose 
this is bug or my mistake in my CentOS environment.

Legwork suggested in RT wiki and mailinglist did not help me to find 
solution.

I appreciate every suggestion.

Thanks in advance.

Regards,
-- 
Pavel Sidlo
e-mail: pavel.sidlo at topdigital.cz



More information about the rt-users mailing list