Re: Using g_utf8_collate() with gtk_disable_setlocale()

2017-03-26 Thread Andreas Falkenhahn
On 09.03.2017 at 19:20 Emmanuele Bassi wrote: > You should be using `g_ascii_strtod()` if you need a > locale-independent version of `strtod()`, instead of disabling the > locale. > In general, disabling the locale is only meant for specific, limited > cases, like platforms with broken locales,

Re: Using g_utf8_collate() with gtk_disable_setlocale()

2017-03-09 Thread Emmanuele Bassi
On 9 March 2017 at 17:44, Andreas Falkenhahn wrote: > Is there any way to make g_utf8_collate() use the system's locale > when using gtk_disable_setlocale()? No, because you just told everything to not use the locale. > In my application I need to use >

Using g_utf8_collate() with gtk_disable_setlocale()

2017-03-09 Thread Andreas Falkenhahn
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