Re: gtk_init breaks fortran data operation



I don't need gtk_disable_setlocale()  because I want other locale
parameters to be set.
I'll use C instead of en_US.utf8. Thanks for advice.

29.11.2010 10:55, David Nečas пишет:
> On Sun, Nov 28, 2010 at 07:15:54PM +0300, Alexander Varnin wrote:
>> Yes, you are right. Adding
>>> setlocale(LC_NUMERIC, "en_US.utf8");
>> after gtk_init solved the problem.
> You can use gtk_disable_setlocale() instead.  Anyway, en_US.UTF-8 is not
> guaranteed to exist; the only one are guaranteed to exist is C (plus
> POSIX on POSIX systems).
>
> Yeti
>
> .
>



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