marrow/marrow.mailer — Issue #34: Add workaround for the utf8-qp bug in Python 2.6.5
Author: agronholm
Created: 2011-11-24 19:14:12+00:00
State: open

```from email import charset
from email.mime.text import MIMEText

charset.add_charset('utf-8', charset.SHORTEST, charset.QP, 'utf-8')
mt = MIMEText(u'\u00e4', 'plain', 'utf-8')
print bytes(mt) # Last line should read "=C3=A4, but returns =E4 on Python 2.6.5"```

This makes marrow.mailer unusable on affected Python versions, but Turbomail did not have issues there.