List Info

Thread: Problem with email encoding




Problem with email encoding
user name
2007-05-24 10:33:42
Since we upgraded to 0.21, the mails sent by the
notification system 
have encoding problems.
I've tried any reasonable value for the
scarab.email.encoding build 
parameter (UTF-8, ISO-8859-1, ISO-8859-15, no value,
suppressing the 
parameter altogether) and can't solve the problem.
I've been through the code of the Notification system, its
sophisticated 
l10n features, and at the end I just can't guess what is
happening.

Here is a snippet of the source of one such mail (I deleted
the email 
addresses to prevent spam but this is irrelevant)
------------------------------
Message-ID: <19840922.1180017600224.JavaMail.scaraboursmtpserver.net>
Date: Thu, 24 May 2007 16:40:00 +0200 (CEST)
From: Scarab <*DELETED*>
Reply-To: Scarab <*DELETED*>
To: =?ISO-8859-1?Q?Jean-Fran=E7ois_EL_FOULY?=
<*DELETED*>
Subject: [MODULE DE TEST] Fiche #TEST60
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Rapport d'activit=E9s sur

 *FFT TEST60 - Test d'envoi de mail*
=20
 Lien vers scarab: http://scarab.travelsoft.fr:8888/scarab/issues/id/TEST6=

0
 Module: Module de test
---------------------------------
Basically, scarab.email.encoding seems to have an effect
only on the To: 
line.
For the rest, Content-Type is always UTF-8 and the body of
the message 
is always encoded in ISO-LATIN1 (see =E9 which is an e
acute) or 
anything like that.
Not surprisingly, the mail clients are lost and display
question marks 
(Thunderbird) or some other character or even nothing at all
(Outlook) 
when they meet a character that is not straight ASCII.

Has somebody an idea to help me sort this problem out ?
Any help greatly appreciated.

Jean-Francois


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribescarab.tigris.org
For additional commands, e-mail: dev-helpscarab.tigris.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )