robert wrote: > Why can the default locale not be set by its true name? but only by '' ? :
Probably it is just not implemented. But since locale names are system specific (For example windows accepts 'ch' as Chinese in Taiwan, where as IANA <http://www.iana.org/assignments/language-subtag-registry> considers it Chamorro) setlocale should probably grow an additional keyword parameter: setlocale(LC_ALL, iana='de-DE') -- Leo -- http://mail.python.org/mailman/listinfo/python-list