Steve Dower <[email protected]> added the comment:
So is the fix here to update locale._build_localename to check something like
this?
if encoding is None:
return language
elif sys.platform == 'win32' and encoding not in {'utf8', 'utf-8'}:
return language
else:
return language + '.' + encoding
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37945>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com