New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
MimeTypes.read() read the rule file using UTF-8, but read_mime_types() uses the locale encoding. It is an easy issue. You need just repeat issue13025 for read_mime_types(). ---------- components: Library (Lib) keywords: easy messages: 371925 nosy: serhiy.storchaka, vstinner priority: normal severity: normal stage: needs patch status: open title: read_mime_types() should read the rule file using UTF-8, not the locale encoding type: behavior versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41048> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com