Using g_utf8_collate() with gtk_disable_setlocale()
- Date: Thu, 9 Mar 2017 18:44:10 +0100
- From: Andreas Falkenhahn <andreas@xxxxxxxxxxxxxx>
- Subject: Using g_utf8_collate() with gtk_disable_setlocale()
Is there any way to make g_utf8_collate() use the system's locale
when using gtk_disable_setlocale()? In my application I need to use
gtk_disable_setlocale() because having GTK call setlocale() has
several implications which I'd like to avoid (e.g. strtod() suddenly
expecting a comma instead of a point as a decimal separator).
So I'd like to ask if there is any other way to tell glib to use
the system's locale when sorting using g_utf8_collate() so that I
can keep my call to gtk_disable_setlocale() and still use g_utf8_collate
to sort using the system's locale?
Andreas Falkenhahn mailto:andreas@xxxxxxxxxxxxxx
gtk-list mailing list