[issue43091] console encode is not utf-8!!

Christian Heimes report at bugs.python.org
Mon Feb 1 09:30:51 EST 2021


Christian Heimes <lists at cheimes.de> added the comment:

"utf8_mode = -1" falls back to command line, env vars, locales, and eventually disables UTF-8 mode. Try "cfg.utf8_mode = 1" as documented at https://docs.python.org/3/c-api/init_config.html?highlight=pypreconfig_initpythonconfig#c.Py_PreInitializeFromArgs

----------

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


More information about the Python-bugs-list mailing list