Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 28, 2018

On HP-UX, with the C locale or POSIX locale, nl_langinfo(CODESET)
annonuces "roman8" wheras it uses the Latin1 encoding in practice.

https://bugs.python.org/issue34403

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.
@vstinner vstinner merged commit d500e53 into python:master Aug 28, 2018
@vstinner vstinner deleted the hpux_force_ascii branch August 28, 2018 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants