utf8 mode seems not working while loading site module with Python 3.11/3.12 in Windows #117793
Labels
3.11
only security fixes
3.12
only security fixes
stdlib
Python modules in the Lib dir
topic-unicode
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
I installed python 3.12.2 with rye 0.32.0, and it created a pth file that contains non-ascii file path.
Processing this file causes a UnicodeDecodeError and python prompt fails to open. (#87380)
I tried running python in utf-8 mode via $ python -X utf8 and PYTHONUTF8=1 environment variable, but not worked.
(not also with 3.11.8)
Error message is like following:
related part in messages from -v option:
tried but not worked
worked
CPython versions tested on:
3.12
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: