Re: Japanese Display for gtk+-1.2.9
- From: mpsuzuki hiroshima-u ac jp
- To: Xyber Blue <xyberblue gmail com>
- Cc: lmczars yahoo com, gtk-list gnome org
- Subject: Re: Japanese Display for gtk+-1.2.9
- Date: Wed, 2 Nov 2005 14:00:34 +0900
On Wed, 2 Nov 2005 10:40:24 +0800
Xyber Blue <xyberblue gmail com> 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 );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]