• Julien Muchembled's avatar
    MailTemplates: more reliable encoding of headers · 03e60de1
    Julien Muchembled authored
    str.encode() first performs an implicit conversion to unicode using
    sys.getdefaultencoding(), which is usually 'ascii'. The 'isort' module
    changes the default encoding to utf-8, leading to UnicodeEncodeError
    instead of UnicodeDecodeError. Let's simplify all this.
    03e60de1
Name
Last commit
Last update
..
tests Loading commit data...
www Loading commit data...
BaseMailTemplate.py Loading commit data...
FSMailTemplate.py Loading commit data...
MTMultipart.py Loading commit data...
MailTemplate.py Loading commit data...
VERSION.txt Loading commit data...
__init__.py Loading commit data...
license.txt Loading commit data...
readme.txt Loading commit data...