[issue34459] email.contentmanager should use IANA encoding

2018-08-22 Thread era
era added the comment: https://bugs.python.org/issue34460 now requests the addition of "cp-850" and "windows-784" as charset aliases in the email.charset module. -- ___ Python tracker __

[issue34459] email.contentmanager should use IANA encoding

2018-08-22 Thread era
New submission from era : https://github.com/python/cpython/blob/3.7/Lib/email/contentmanager.py#L64 currently contains the following code: def get_text_content(msg, errors='replace'): content = msg.get_payload(decode=True) charset = msg.get_param('charset', 'ASCII')