[New-bugs-announce] [issue32555] Encoding issues with the locale encoding

STINNER Victor report at bugs.python.org
Mon Jan 15 06:20:42 EST 2018

New submission from STINNER Victor <victor.stinner at gmail.com>:

Python 3.6 doesn't use the right encoding in os.strerror(), time.stftime(), locale.localeconv(), time.tzname, etc. on macOS, FreeBSD and other platforms.

See my fix locale encodings in bpo-29240: commit 7ed7aead9503102d2ed316175f198104e0cd674c, and test_all_locales.py attached to bpo-29240.

See also the bpo-31900 for locale.localeconv() encoding issue when LC_NUMERIC encoding is different than the LC_CTYPE encoding.

components: Unicode
messages: 309963
nosy: ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: Encoding issues with the locale encoding
versions: Python 3.6, Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list