Eryk Sun <eryk...@gmail.com> added the comment:

ucrt in Windows 10 v2004 uses an internal wide-character version of the 
time-zone name, which gets updated by _tzset() and kept in sync with the 
_tzname encoded strings. Also, note that the current implementation uses the 
locale's ANSI code page for both "de-DE" and "de_DE". UTF-8 has to be requested 
explicitly when using a BCP-47 locale name, such as "de_DE.UTF-8" or 
"de-DE.UTF-8", and UTF-8 is the only explicit codeset that's allowed in this 
case.

----------
resolution:  -> third party
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36792>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to