[rt-users] Problems with text/html Mails and Unicode

Torben Nehmer torben.nehmer at cancom.de
Thu Nov 16 11:17:29 EST 2006


Hi,

I have a severe Problem with text/html mails sent to a RT queue via the Maligate, both on Web and on E-Mail Replies, the UTF-8 entities get double-encoded.

Here is what I sent to RT (copy/pasted from Outlook):

---snip---
öäü
ßßß
---snap---

The Ticket in the web shows this as 

---snip---
öäü
ßßß
---snap---
 
(Page is reported as UTF-8 by Opera)


If I download the entire Attachment, I get:

---snip---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


<META content="MSHTML 6.00.5700.6" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=820305214-16112006><FONT face=Arial 
size=2>öäü</FONT></SPAN></DIV>
<DIV><SPAN class=820305214-16112006><FONT face=Arial 
size=2>ßßß</FONT></SPAN></DIV><!-- Converted from text/plain format -->
[...]
---snap---

(Page is reported as UTF-8 by Opera)


The automatically generated reply from RT quotes it like this:

---snip---
öäüßßß
---snap---


The funny things about all this:

a) If I send the very same mail as plain/text instead of plain/html, everything works fine.

b) If I manually change the encoding line in the Database (update attachments set contenttype='text/plain' where id=1;) display is fine as well.

I am using RT 3.6.1-2 installed from Debian Packages out of Testing, the full System Configuration dump can be found in the attached text file.


I would appreciate any hints where to go from here, because I have been trying for hours now to locate this problem. I even tried switching from MySQL to PgSQL, with no effect.




Yours sincerely,
Torben Nehmer

-------
Torben Nehmer
Diplom Informatiker (FH)
Business System Developer

CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany

Phone: +49 (0)8225 - 996-1118
Fax: +49 (0)8225 - 996-41118
torben.nehmer at cancom.de


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rt-config.txt
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20061116/e01d93c7/attachment.txt>


More information about the rt-users mailing list