Re: setlocale & gtk
- From: David NeÄas <yeti physics muni cz>
- To: Allin Cottrell <cottrell wfu edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: setlocale & gtk
- Date: Wed, 2 Sep 2009 09:15:07 +0200
On Tue, Sep 01, 2009 at 04:17:37PM -0400, Allin Cottrell wrote:
On Tue, 1 Sep 2009, Tomas Soltys wrote:
I forgot to write that this behaviour apply only on Windows not on Linux.
[...]
Recently I have ran into a problem with locale settings.
1. I need my application to have disabled locale settings. This is mainly
for the number representation.
If that's all you're really worried about:
setlocale(LC_NUMERIC, "C");
Or, more likely, use g_ascii_strtod() and related functions where
necessary (reading and writing numbers from and to text formats).
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]