[Tutor] Question about language code

eryksun eryksun at gmail.com
Fri Oct 12 07:38:01 CEST 2012

On Fri, Oct 12, 2012 at 12:37 AM, eryksun <eryksun at gmail.com> wrote:
> For example (untested):
>     >>> locale.setlocale(locale.LC_ALL, 'German_Germany.1252')

I got around to testing the above, and it works. Also, the Python docs
say "if [locale is] an iterable, it’s converted to a locale name using
the locale aliasing engine." This doesn't work on Windows. It aliases
a tuple of ('German_Germany', '1252') to 'de_DE.cp1252', which Windows
doesn't recognize.

More information about the Tutor mailing list