James Henstridge wrote:
>
> You could try using the locale.setlocale() function. Eg:
> import locale
> locale.setlocale(locale.LC_MESSAGES, 'ja_JP.ujis')
>
> (or maybe LC_ALL). If you set the locale to '', it will look up the
> environment.
Unfortunately this doesn't work. I think I forgot to mention
that my intention is to have the application set the locale
regardless of the user's current locale settings.
So defaulting to the environment the interpreter is running
in is no good. As I mentioned before, setting the environment
beforehand DOES work..but is not a good solution.
locale.setlocale doesn't do anything, as far as I can see =P
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
- [pygtk] PyGtk and Input Methods Glen Malley
- Re: [pygtk] PyGtk and Input Methods James Henstridge
- Re: [pygtk] PyGtk and Input Methods Glen Malley
- Re: [pygtk] PyGtk and Input Methods ChiDeok Hwang
- Re: [pygtk] PyGtk and Input Methods Glen Malley
- Re: [pygtk] PyGtk and Input Methods James Henstridge
- Re: [pygtk] PyGtk and Input Methods Glen Malley
- Re: [pygtk] PyGtk and Input Methods Aaron Optimizer Digulla
- Re: [pygtk] PyGtk and Input Methods James Henstridge
- Re: [pygtk] PyGtk and Input Methods Erno Kuusela
