[imp] problem with non ascii characters

Jan Schneider jan at horde.org
Tue Jan 27 02:27:00 PST 2004


Zitat von Lasse Aagren <aagren at mip.sdu.dk>:

> I have a problem with Imp on our Solaris system. We have a lot of
> chinese students, and sometimes when they receive emails with certain
> characters in the from address, their reply to this email can stall
> our email virus scanning system (postfix/amavis/sophie/sophos).
>
> As an example a chinese student got a mail, which when he clicked
> reply in Imp became:
>
> "Zhao\)ÕÔÑÒ\(Yan" <some at address.here>
>
> in the to-field. This mail, when sent, stalls our mail-system. I've
> made the following debug-patch to compose.php:

> which prints some debug info before and after the header get's
> mime-encoded. With the example from above, this prints the following
> in the file:
>
> -mime: "Zhao\)ÕÔÑÒ\(Yan" <lasse at aagren.org>
> +mime: ""@

I don't know how to fix that, but the encoding of this string happens in
horde/lib/MIME.php, the MIME::encodeAddress() method. It might happen in
our code, but it also might happen in the Mail PEAR package. Try digging
deeper.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list