[imp] Decoding of multilined quoted-printable-encoded subjects
Oliver Kuhl
okuhl at netcologne.de
Mon Apr 5 22:40:21 PDT 2004
Michael M Slusarz wrote:
> Quoting Oliver Kuhl <okuhl at netcologne.de>:
>
>> I am not sure if I this is really a bug or a malformed email. I got a
>> mail with a quoted-printable-encoded subject. As rfc says,
>> quoted-printable subjects *may* have a linebreak, if the encoded string
>> is longer than x letters (75 or something like that).
>>
>> This mail has such a subject:
>> =?iso-8859-1?Q?Antwort_auf_Burn_Baby=2C_Burn=21_-_Sch=FCtzt_di?=
>> =?iso-8859-1?Q?e_Privatkopie=2E?=
>> ^^^^^^^^
>> There are several blanks before the second line and I left out the
>> "Subject:"-Part in the first line to get that one in one line.
>>
>> The line-break is in the middle of the german word "die" an the subject
>> is displayed in IMP as followed:
>> "Antwort auf Burn Baby, Burn! - Schützt di e Privatkopie."
>> ^^^
>> Is this the correct behaviour?
> Sorry for the lateness in the response...
No problem.
> I verified that the above example renders just fine (i.e. no space
> between the
> 'i' and 'e') if there is only a CRLF SPACE between the two lines.
> Obviously,
> in the email you received, there was multiple whitespace (i.e. a tab and a
> space) on the second line which, according to RFC 2047, would correctly be
> displayed as 'di e' - since only one SPACE character should be removed.
Ok, there is a tab and that is the reason then. So IMP does fine as
usual. :)
Thanks for the answer!
Gruss,
Ollie.
More information about the imp
mailing list