Xavier de Gaye added the comment: This patch fixes the locale setting on startup when the LC_ALL environment variable is set to C, and as a consequence test_c_locale_surrogateescape does not fail anymore. Note that on Android HAVE_LANGINFO_H is undefined, see issue #22747.
---------- Added file: http://bugs.python.org/file42845/test_c_locale_surrogateescape.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26920> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com