gh-69998: Fix decoding error in locale.nl_langinfo() (GH-124963)
The function now sets temporarily the LC_CTYPE locale to the locale of the category that determines the requested value if the locales are different and the resulting string is non-ASCII. This temporary change affects other threads.
S
Serhiy Storchaka committed
93b9e6bd7d48150d8a5d16cea39246a980e073cb
Parent: 2739099
Committed by GitHub <noreply@github.com>
on 10/8/2024, 8:27:49 AM