POP3 messages: '=' always followed by '3D'?
Skip Montanaro
skip at pobox.com
Thu Sep 20 21:00:24 EDT 2001
>> For example, if the message contains this:
>> <abc def='ghi'>
>> it will be retrieved as:
>> <abc def=3D'ghi'>
>>
>> Am I missing something painfully obvious here?
Roman> "=3D" is quoted-printable for "=". For some reason, your mail
Roman> server quotes "=" this way... I doubt it's poplib, because poplib
Roman> do not need to escape "=" in message body.
Roman> Try pop-ing from some other server.
Or analyze your message headers to see if the message has been
quoted-printable encoded and perform the proper decoding. I can't imagine
that a robust POP server would quoted-printable encode a message without
noting that fact somewhere.
--
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/
More information about the Python-list
mailing list