Skip to content

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