[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

Ronald Oussoren report at bugs.python.org
Sat Jul 25 12:16:19 CEST 2015


Ronald Oussoren added the comment:

The alias mechanism cannot be used because LC_CTYPE=UTF-8 as the locale doesn't imply anything about languages. 

In Linux terms it is more or less equal to "C.UTF-8" or "POSIX.UTF-8", except that those two aren't valid locales on OSX.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18378>
_______________________________________


More information about the Python-bugs-list mailing list