Re: locale not supported by Xlib



Havoc Pennington wrote:

> Sanghun Park <sanghun hynix com> writes:
> >
> > I've developed an application of gdk/gtk/gnome.
> > But, when I run the application, the following messages emit.
> >
> >
> > Gdk-WARNING **: locale not supported by Xlib, locale set to C
> >
> > Gdk-WARNING **: can not set locale modifiers
> >
> >
> > What's wrong? How can I fix it?
>
> Your locale isn't supported by Xlib. So you need to change your locale
> to one that is, or change your Xlib to one that supports your locale.
>
> "echo $LANG" or "echo $LC_ALL" to see what locale you're using.
>
> Havoc

First, thanks for your kindness response.
I have tried to change "locale" to
$ setenv LANG  C
$ setenv LANG POSIX
$ setenv LANG iso_8859_1
$ setenv LANG en_US.UTF-8
etc.

But all setting failed.
Furthermore according to the locale setting, gdk-warning message changed.

For locale setting to "C"
Gdk-WARNING **: locale not supported by C library
Gdk-WARNING **: locale not supported by Xlib, locale set to C
Gdk-WARNING **: can not set locale modifiers

For locale setting to "POSIX"
Gdk-WARNING **: locale not supported by Xlib, locale set to C
Gdk-WARNING **: can not set locale modifiers

I studied and found out the locale supported by C library in my computer.

$ locale -a
But how can I find out the locale supported by Xlib ?
I'm using both openwin and X11R6. Please help me again.






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