New submission from Inada Naoki <songofaca...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com