Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-34523: Py_DecodeLocale() use UTF-8 on Windows#8998

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:windows_utf8Copy head branch name to clipboard
Aug 29, 2018
Merged

bpo-34523: Py_DecodeLocale() use UTF-8 on Windows#8998
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:windows_utf8Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Aug 29, 2018

Copy link
Copy Markdown
Member

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.

https://bugs.python.org/issue34523

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.
@vstinner vstinner merged commit c5989cd into python:master Aug 29, 2018
@vstinner vstinner deleted the windows_utf8 branch August 29, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.