chinese locales



Hi,

Is there anybody knowing how to show chinese in my gtk application?
I exported  LC_ALL=zh_TW.Big5
and added  gtk_set_locale()            in my appl  right before gtk_init(&argc,
&argv);
and used    gtk_fontset_load            to load the font

But whenever I launch my application, my computer keeping saying

Gdk_WARNING **: locale not supported by C library

I'm using i386 with glibc-2.1.3-15,  XFree86-libs-3.3.6-20,  gtk+-1.2.6-7
XFree86-3.3.6-20,  locales-zh-1.1-7

I checked  my /usr/share/locale directory, everything is just there:
-rw-r--r-- 3 root root 635388 10 10 19:51 LC_COLLATE
-rw-r--r-- 3 root root 16584 10 10 19:51 LC_CTYPE
drwxr-xr-x 2 root root 4096 01 5 17:22 LC_MESSAGES/
-rw-r--r-- 3 root root 93 10 10 19:51 LC_MONETARY
-rw-r--r-- 3 root root 27 10 10 19:51 LC_NUMERIC
-rw-r--r-- 3 root root 460 10 10 19:51 LC_TIME






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