[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.
Inada Naoki
report at bugs.python.org
Wed Mar 30 03:25:56 EDT 2022
Inada Naoki <songofacandy at gmail.com> added the comment:
@vstiner Since UTF-8 mode affects `locale.getpreferredencoding(False)`, I need to decide alternative API in the PEP 686.
If no objections, I will choose `locale.get_encoding()` for current locale encoding (ACP on Windows).
See https://github.com/python/peps/pull/2470/files
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47000>
_______________________________________
More information about the Python-bugs-list
mailing list