[issue41653] About the use of cpython console mode problem

2020-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am replacing the text snippet screenshot with a link to the online doc: https://docs.python.org/3/c-api/init.html#c.Py_Initialize The only encoding python 'forces' in recent Python is utf-8 in utf-8 mode and on some systems. See https://docs.python.org/

[issue41653] About the use of cpython console mode problem

2020-08-29 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file49430/Screenshot_2020_0828_104656.png ___ Python tracker ___ ___ Python

[issue41653] About the use of cpython console mode problem

2020-08-27 Thread twoone3
New submission from twoone3 <3197653...@qq.com>: When I use the Py_Initialize function in cpython, the console is forced to become gbk encoding, hoping to be compatible with UTF-8 -- components: C API files: Screenshot_2020_0828_104656.png messages: 376019 nosy: twoone3 priority: norma