SIGN IN SIGN UP

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.
V
Victor Stinner committed
d500e5307aec9c5d535f66d567fadb9c587a9a36
Parent: 5cb2589
Committed by GitHub <noreply@github.com> on 8/28/2018, 3:27:36 PM