◐ Shell
clean mode source ↗

bpo-29240: PyUnicode_DecodeLocale() uses UTF-8 on Android by vstinner · Pull Request #5272 · python/cpython

PyUnicode_DecodeLocaleAndSize(), PyUnicode_DecodeLocale() and
PyUnicode_EncodeLocale() now use always use the UTF-8 encoding on
Android, instead of the current locale encoding.

On Android API 19, mbstowcs() and wcstombs() are broken and cannot be
used.

https://bugs.python.org/issue29240