commit | d500e5307aec9c5d535f66d567fadb9c587a9a36 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Aug 28 17:27:36 2018 +0200 |
committer | GitHub <noreply@github.com> | Tue Aug 28 17:27:36 2018 +0200 |
tree | 37f95130926a65be9419683aca896b3dcfcfceee | |
parent | 5cb258950ce9b69b1f65646431c464c0c17b1510 [diff] |
bpo-34403: On HP-UX, force ASCII for C locale (GH-8969) On HP-UX with C or POSIX locale, sys.getfilesystemencoding() now returns "ascii" instead of "roman8" (when the UTF-8 Mode is disabled and the C locale is not coerced). nl_langinfo(CODESET) announces "roman8" whereas it uses the Latin1 encoding in practice.