Re: g_get_charset() always returns ANSI_X3.4-1968



Joel Becker <jlbec evilplan org> writes:

> On Wed, Oct 31, 2001 at 06:06:03PM +0000, Joel Becker wrote:
> > Folks,
> > 	So, I've been trying to use a locale other than POSIX C in
> > working with GTK+/GLib 2.  Unfortnately I've discovered that gutf8
> > doesn't believe in any user charset other than ANSI_X3.4-1968.  The
> > simple test program:
> 
> Hmm, don't mind me.  I didn't setlocale(LC_ALL, "");

As of GTK+-1.3.10, gtk_init() is supposed to do this immediately...
did htat not happen for you?

(If you are just using glib, yes, you have to do this.)

                                        Owen



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