[New-bugs-announce] [issue43091] console encode is not utf-8!!

twoone3 report at bugs.python.org
Mon Feb 1 09:15:27 EST 2021


New submission from twoone3 <3197653242 at qq.com>:

https://docs.python.org/3/c-api/init_config.html?highlight=pypreconfig_initpythonconfig#c.PyPreConfig
When I use this api,The coding of the console has not changed,utf8_mode is 1.
This is my code.
PyPreConfig_InitPythonConfig(&cfg);
cfg.utf8_mode = -1;
Py_PreInitialize(&cfg);

----------
messages: 386069
nosy: twoone3
priority: normal
severity: normal
status: open
title: console encode is not utf-8!!
type: behavior
versions: Python 3.9

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


More information about the New-bugs-announce mailing list