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