[issue19662] smtpd.py should not decode utf-8

Leslie P. Polzer report at bugs.python.org
Wed Nov 20 13:48:27 CET 2013


Leslie P. Polzer added the comment:

Patch attached. This also adds some more charset clarification to the docs and corrects a minor spelling issue.

It is also conceivable that we add a charset attribute to the class. This should have the safe default of latin1, and some notes in the docs that setting this to utf-8 (and probably other utf-* encodings) is not really standards-compliant.

----------
keywords: +patch
Added file: http://bugs.python.org/file32719/smtpd_charset_latin1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19662>
_______________________________________


More information about the Python-bugs-list mailing list