[Email-SIG] Python's quoprimime encoder
Nicholas Cole
nicholas.cole at gmail.com
Fri Mar 2 11:44:54 CET 2007
I don't pretend to be an expert on quoted printable encoding - far
from it, in fact - but I can't understand why pyton's encoder gives
different output to encoders online.
If I do:
email.quoprimime.encode("""This is
a
test""")
python gives me:
'This is =\n\na test.'
Whereas online encoders, such as,
http://www.motobit.com/util/quoted-printable-encoder.asp, give:
This is=20
a =20
test
(ie. with =20 rather than just = protecting whitespace before the end
of the line)
Can anyone explain what is going on?
Best wishes,
Nicholas
More information about the Email-SIG
mailing list