summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-29 17:32:47 (GMT)
committerGitHub <noreply@github.com>2018-08-29 17:32:47 (GMT)
commitc5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2 (patch)
tree9bd325d65e1cee9696fb98998db0bdb2a2e21b41 /Misc/NEWS.d/next
parent70fead25e503a742ad4c919b151b9b2b5facee36 (diff)
downloadcpython-c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2.zip
cpython-c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2.tar.gz
cpython-c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2.tar.bz2
bpo-34523: Py_DecodeLocale() use UTF-8 on Windows (GH-8998)
Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero. pymain_read_conf() now sets Py_LegacyWindowsFSEncodingFlag in its loop, but restore its value at exit.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/C API/2018-08-29-18-48-47.bpo-34523.lLQ8rh.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2018-08-29-18-48-47.bpo-34523.lLQ8rh.rst b/Misc/NEWS.d/next/C API/2018-08-29-18-48-47.bpo-34523.lLQ8rh.rst
new file mode 100644
index 0000000..95368f1
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2018-08-29-18-48-47.bpo-34523.lLQ8rh.rst
@@ -0,0 +1,2 @@
+Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on
+Windows if Py_LegacyWindowsFSEncodingFlag is zero.