SCM

Bugs: Browse | Download .csv | Monitor

[#2951] Encoding issue about custom_subject

Date:
2007-03-27 04:26
Priority:
3
State:
Open
Submitted by:
Luoh Ren-Shan (lcamel)
Assigned to:
Nobody (None)
:
None
Category:
None
Group:
None
Resolution:
None
Platform:
 
Summary:
Encoding issue about custom_subject

Detailed description
It seems that sympa will use the encoding of subject to encode "[custom_subject] + decoded_subject". If my subject encoding is not utf-8, the concatenated string will not be display properly.

Followup

Message
Date: 2009-03-06 17:12
Sender: Daniel Rudigier

Hi there, I have the same problem with the subject line. An email having header line "Content-Type: text/plain; charset=utf-8" with false encoded content (iso-8859-1) will be processed by sympa in this manner: http://img7.imageshack.us/img7/8956/subjectencoding.jpg The subject line gets corrupted wheras the body is handled correctly. As you can see from the screenshot I've tested this issue on the demo list server version 6.0a.11. In my company we use version 5.3.4 in production use. Is there a workaround for this problem?
Date: 2007-03-29 06:15
Sender: Luoh Ren-Shan

I have post several messages with mixed encodings on the encoding-test@demo.sympa.org mailing list. There is one minor problem : when I use Chinese characters in the custom_subject field, the message being sent out is ok, but the archive system can't display the subject correctly. There is an extra space in the subject. (see the attached file) Except this minor problem, Sympa 5.3b.4 works like a charm!! Thank you all for the efforts! Luoh Ren-Shan
Date: 2007-03-28 09:13
Sender: Olivier Salaün

We have a greylisting antispam system in place. If you have another 10 minutes later, it should work this time. Otherwise let me know ; I'll manage to add you to our whitelist.
Date: 2007-03-28 06:00
Sender: Luoh Ren-Shan

Sorry, the mail server works now.
Date: 2007-03-28 05:46
Sender: Luoh Ren-Shan

Hi, I keep receiving the following error while sending email to the "test-encoding" mailing list: RCPT TO: encoding-test@demo.sympa.org 451 4.3.2 Tempfail : Try again later, please Luoh Ren-Shan
Date: 2007-03-27 14:42
Sender: Olivier Salaün

Thanks for providing more informations. Most of the charset management has been changed in the latest Sympa 5.3x versions and should therefore handle such situations in a much better way. Could you please have a try creating a demo list on our demo.sympa.org server and let us know if things still go wrong ? Thanks.
Date: 2007-03-27 14:29
Sender: Luoh Ren-Shan

Hi, I'm using Sympa 5.2.2. I typed 2 Chinese characters "中文"(E4 B8 AD E6 96 87 in utf-8) as the custom_subject. I noticed that the custom_subject has been correctly written into the "config" file with utf-8 encoding. When I try to send a mail with the subject "=?BIG5?Q?=A4=A4=A4=E5big5?=" ("中文big5" in Big5 encoding), Sympa sent it out with the subject Subject: [=?BIG5?Q?=E4=B8=AD=E6=96=87?=] =?BIG5?Q?=A4=A4=A4=E5big5?= (extracted from arctxt). The original subject part is ok, but the correct custom subject byte sequence E4 B8 AD... in utf-8 is being marked with the incorrect encoding "BIG5", which is derived from the original subject part. It would be appreciated if the subject being sent out is Subject: [=?UTF-8?Q?=E4=B8=AD=E6=96=87?=] =?BIG5?Q?=A4=A4=A4=E5big5?= , which can be handled corrrectly by Thunderbird / Gmail / MHonARC. Thank You Luoh Ren-Shan
Date: 2007-03-27 11:42
Sender: Olivier Salaün

What version of Sympa are you using ? Do you notice Subject header corruption or just usage the an unappropriate charset ? Can you please provide a detailed exemple with : the original subject + the custum_subject content + the subject of outgoing messages. Thank you.

Attached Files:

Name Download
sympa.PNG Download

Changes:

Field Old Value Date By
File Added287: sympa.PNG2007-03-29 06:15lcamel