This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy, twoone3
Date 2020-08-30.00:39:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598747946.95.0.887426714752.issue41653@roundup.psfhosted.org>
In-reply-to
Content
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/3/library/sys.html#sys.getfilesystemencoding.  I am guessing that you are using *nix and that your locale uses gbk.

I am closing because there is no usable description of a bug.  I suggest asking on Python-list about how to do whatever it is you want.  Start with your OS and version.
History
Date User Action Args
2020-08-30 00:39:06terry.reedysetrecipients: + terry.reedy, twoone3
2020-08-30 00:39:06terry.reedysetmessageid: <1598747946.95.0.887426714752.issue41653@roundup.psfhosted.org>
2020-08-30 00:39:06terry.reedylinkissue41653 messages
2020-08-30 00:39:06terry.reedycreate