commit | c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Wed Aug 29 19:32:47 2018 +0200 |
committer | GitHub <noreply@github.com> | Wed Aug 29 19:32:47 2018 +0200 |
tree | 9bd325d65e1cee9696fb98998db0bdb2a2e21b41 | |
parent | 70fead25e503a742ad4c919b151b9b2b5facee36 [diff] |
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.