How to set locale dynamicly under GTK-win application?
- From: Marvin Zhang <marvin2yuer yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: How to set locale dynamicly under GTK-win application?
- Date: Mon, 12 May 2008 17:50:32 -0700 (PDT)
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]