commit | 5cb258950ce9b69b1f65646431c464c0c17b1510 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Aug 28 12:35:44 2018 +0200 |
committer | GitHub <noreply@github.com> | Tue Aug 28 12:35:44 2018 +0200 |
tree | 3f63a61cad2e65c83ab5f874a13a44def04bc182 | |
parent | d658deac6060ee92b449a3bf424b460eafd99f3e [diff] |
bpo-34527: POSIX locale enables the UTF-8 Mode (GH-8972) * The UTF-8 Mode is now also enabled by the "POSIX" locale, not only by the "C" locale. * On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding if the LC_CTYPE locale is "POSIX", not only if the LC_CTYPE locale is "C". * test_utf8_mode.test_cmd_line() checks also that the command line arguments are decoded from UTF-8 when the the UTF-8 Mode is enabled with POSIX locale or C locale.