[imp] Subject line encoding problem
Otto Stolz
Otto.Stolz at uni-konstanz.de
Thu Dec 6 16:04:44 UTC 2007
Hello,
Daniel A. Ramaley wrote:
> our webmail server [...] runs Horde 3.1.5 and Imp 4.1.5
...
> i sent a message 3 times, each time selecting a different
> encoding. In both the Subject and the body i typed "日本語"
...
> With Horde/Imp:
>
> Encoding Subject line
> ----------- ----------------------------------
...
> ISO-2022-JP =?UNKNOWN?Q?=1B$BF|K=5C8l=1B=28B?=
...
> But the Subject line for ISO-2022-JP does not display correctly when
> the message is received. I'm not sure what encoding Imp put it in, and
> from its own use of "UNKNOWN" it looks like Imp wasn't so sure either.
«=1B$BF|K=5C8l=1B=28B» is «日本語» in ISO-2022-JP/quoted-printable,
whilst «GyRCRnxLXDhsGyhC»« is the same string in ISO-2022-JP/base-64,
cf. infra.
So, Imp has used the desired encoding, but has not tagged it
correctly.
Best wishes,
Otto Stolz
------------- Test case --------------------
I have sent the following message to myself, and both subject
and message-text displayed correctly as «日本語»:
Subject: =?iso-2022-jp?b?GyRCRnxLXDhsGyhC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: quoted-printable
=1B$BF|K=5C8l=1B=28B
-------------End of test case --------------------
More information about the imp
mailing list