Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro #13056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2019
Merged

bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro #13056

merged 1 commit into from
May 2, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 2, 2019

Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to
avoid factorize "#if defined(ANDROID) || defined(VXWORKS)"
and "#if defined(APPLE)".

Cleanup also config_init_fs_encoding().

https://bugs.python.org/issue36775

Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to
avoid factorize "#if defined(__ANDROID__) || defined(__VXWORKS__)"
and "#if defined(__APPLE__)".

Cleanup also config_init_fs_encoding().
@vstinner vstinner merged commit e251095 into python:master May 2, 2019
@vstinner vstinner deleted the force_utf8 branch May 2, 2019 15:29
aisipos added a commit to aisipos/cpython that referenced this pull request Jun 3, 2025
This fixes the breakage to HttpServer as used by wsgiref.
aisipos added a commit to aisipos/cpython that referenced this pull request Jun 20, 2025
aisipos added a commit to aisipos/cpython that referenced this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants