Description / Steps to reproduce the issue
gdb
- Within GDB, run
python print("\u00a7"). It prints §.
- Exit GDB with
exit, then run python -c 'print("\u00a7")'. It prints §.
Expected behavior
Both tests should print §.
Actual behavior
Within GDB, it prints ┬º. Outside of GDB, it prints §.
Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
I failed to find the root cause as it's none of the obvious suspects, so a PR from me is unlikely.
Description / Steps to reproduce the issue
gdbpython print("\u00a7"). It prints┬º.exit, then runpython -c 'print("\u00a7")'. It prints§.Expected behavior
Both tests should print
§.Actual behavior
Within GDB, it prints
┬º. Outside of GDB, it prints§.Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
I failed to find the root cause as it's none of the obvious suspects, so a PR from me is unlikely.