Message96211
email.encoders.encode_7or8bit(): typo "iso-2202". "iso-2022" is correct.
Index: Lib/email/encoders.py
===================================================================
--- Lib/email/encoders.py (revision 76749)
+++ Lib/email/encoders.py (working copy)
@@ -62,7 +62,7 @@
# iso-2022-* is non-ASCII but still 7-bit
charset = msg.get_charset()
output_cset = charset and charset.output_charset
- if output_cset and output_cset.lower().startswith('iso-2202-'):
+ if output_cset and output_cset.lower().startswith('iso-2022-'):
msg['Content-Transfer-Encoding'] = '7bit'
else:
msg['Content-Transfer-Encoding'] = '8bit' |
|
Date |
User |
Action |
Args |
2009-12-10 17:43:02 | ynkdir | set | recipients:
+ ynkdir |
2009-12-10 17:43:02 | ynkdir | set | messageid: <1260466982.74.0.0519719914389.issue7472@psf.upfronthosting.co.za> |
2009-12-10 17:43:01 | ynkdir | link | issue7472 messages |
2009-12-10 17:43:00 | ynkdir | create | |
|