How to set locale dynamicly under GTK-win application?



There is a method to change the locale by setting the environment LC_ALL in windows (2000 or XP). But how to 
change the locale in the application?
I tried 
1. setlocale(LC_ALL, "zh_CN");
2. SetEnvironmentVariable("LC_ALL", "zh_CN");

None of them works. 
Any help will be appreciated.

Best regards,
Weixiao


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]