[python-win32] Re: LOCALE related stuff Re: Setting environment
rwupole at msn.com
Wed May 11 22:50:13 CEST 2005
> Thanks for the suggestions and bringing clarity to the issue. After
> understanding your suggestions, I want to go striaght to the actual
> issue down below that made me to post environment issue.
> The actual issue/Problem:
> Its kind of funny tome right now, but letme shoot the problem so that
> we can have a clear cut idea as in whats the bug in python, or may be
> I don;t know I am missing on something.
> I using locale.setlocale and u guys know when we use this setlocale.
> Yes I am working on Localising my application-a pygtk application.
> When one says
> import locale
> locale.setlocale(locale.LC_ALL, ' ')
> This sets the locale for all categories to the user's default setting
> (typically specified in the LANG environment variable).
> I use Python2.4
Have you tried 2.4.1 ? There was a bug fix related to updating os.environ.
More information about the Python-win32