Erronous "unsupported locale setting" ?

Leo Kislov Leo.Kislov at gmail.com
Mon Nov 6 14:35:53 CET 2006


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




More information about the Python-list mailing list