On Fri, 8 Dec 2000, Aaron Optimizer Digulla wrote:
> There are two ways to set the variable and I also found that
> sometimes, one of them doesn't work. Here is what should
> work:
>
> import os
>
> os.environ['LANG'] = 'ja_JP.ujis'
This just sets a value in a dictionary. Anything below python will not
know about it.
> os.putenv ('LANG', 'ja_JP.ujis')
This sets the variable in the environment global variable at the C level,
so would be visible to things like Xlib where the XIM stuff is handled.
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk