On Wed, 2 Nov 2005 10:40:24 +0800
Xyber Blue <[EMAIL PROTECTED]> wrote:

>>>Wao, this output means: there's at least 1 locale
>>>that you can use Japanese on X11. Show the output
>>>of "./xresolvelocale2 `locale -a`".
>
>I am attaching the output file of the above command...

>From the output, the lowest foundation of your X11 is
enabled to handle Japanese. Now I'm afraid your X11
is configured to use X_LOCALE instead of libc's native
locale.

Could you compile xmbcs.c after replacing setlocale()
by _Xsetlocale() as following?

diff -u -r1.9 xmbcs.c
--- xmbcs.c     31 Oct 2005 04:14:14 -0000      1.9
+++ xmbcs.c     2 Nov 2005 04:54:54 -0000
@@ -47,7 +47,7 @@

 void setup_locale()
 {
-  if ( setlocale( LC_CTYPE, "" ) == NULL )
+  if ( _Xsetlocale( LC_CTYPE, "" ) == NULL )
   {
       printf( "libc locale setup failed\n" );
       exit( 1 );




_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to