[imp] CVS HEAD mail body encoding problems

Daniel Eckl daniel.eckl at gmx.de
Thu May 13 12:40:19 PDT 2004


Zitat von Jan Schneider <jan at horde.org>:

> Zitat von Daniel Eckl <daniel.eckl at gmx.de>:
>
>> Zitat von Jan Schneider <jan at horde.org>:
>>
>>> Zitat von Daniel Eckl <daniel.eckl at gmx.de>:
>>>
>>>> Hi list!
>>>>
>>>> I noticed two encoding problems in IMP cvs HEAD.
>>>>
>>>> First one:
>>>>
>>>> If I send a message and the message is being encoded in
>>>> quoted-printable, any line breaks are encoded with "=0A" and no real
>>>> line break. I compared with kmail, which encodes line breaks with =20
>>>> and a real line break.
>>>> While most mail programs decode =0A correct (tested with IMP of course
>>>> and Outlook and kmail), some others like Eudora have problems with that
>>>> and don't show any line breaks at all. (very bad...)
>>>
>>> Fixed in CVS.
>>
>> I'm sorry but I have to tell you, that I don't see any difference.
>>
>> I updated horde and imp, framework and my pear.
>>
>> There is no difference.
>>
>> I include a german umlaut here, so this mail should be encoded quoted
>> prontable and you can see by yourself at the message source.
>>
>> => ä
>
> Must be something wrong with your update then. Make sure that the MIME.php
> in your include path is revision 1.128.

You're right. Somehow the update failed. Now I have all updated. The =0A
ist gone now, and there are CRLF line breaks where they should be. But
I cannot see the "=20" which other mail programs use in addition to the
CRLF. I cannot test with different mil programs at the moment, so this
could be correct or not.

I checked rfc 2045 sec 6.5 and 6.7 and I think these line breaks without
"=20" should be correct. I cannot find the "=20" in rfc 2045, so I
don't exactly know why the other clients are using them...

Do you have in deep knowledge of this subject?

Greets,
Daniel


More information about the imp mailing list