locale on Japanese win XP

Martin v. Löwis loewis at informatik.hu-berlin.de
Fri Jul 26 03:57:02 EDT 2002


amir at clockwise3d.com (Amir Hadar) writes:

> I'm trying to get the locale settings with the locale module under Japanese
> windows XP.
> when I try to set the locale settings with the following command:
> 
> locale.setlocale(locale.LC_ALL,'')
> 
> the locale throws the following exception:
> 
> locale.Error locale settings not supported
> 
> Any ideas?

I've tried to reproduce this with ActivePython 2.2.1, on an English XP
with a Japanese locale, Japanese system locale, and Japanese MUI; it
always reports 'japanese_Japan.932'. I'd appreciate if others with
'true' Japanese XP could try to reproduce this problem.

Regards,
Martin




More information about the Python-list mailing list