[New-bugs-announce] [issue43732] PEP 597: mailcap uses locale encoding

Inada Naoki report at bugs.python.org
Mon Apr 5 08:35:59 EDT 2021


New submission from Inada Naoki <songofacandy at gmail.com>:

mailcap.getcaps() uses locale encoding.
https://github.com/python/cpython/blob/c8e5eb904e12010d2302364e1037c24a30f5e241/Lib/mailcap.py#L33

As my understanding, RFC 1524 uses only ASCII characters.
Can we change the encoding to ASCII or UTF-8?

----------
components: Library (Lib)
messages: 390231
nosy: methane
priority: normal
severity: normal
status: open
title: PEP 597: mailcap uses locale encoding
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43732>
_______________________________________


More information about the New-bugs-announce mailing list