bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro by vstinner · Pull Request #13056 · python/cpython

@vstinner

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().

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