Re: decimal separator



Le lundi 23 janvier 2006 �1:56 +0100, Olivier Pierard a �it :
> Hi all,
> 
> On one computer, the same gtk program considers the decimal separator as 
> a coma, on the other one as a point.  Obviously, this is linked to 
> regional settings (there is a call to gtk_set_locale in gtk_main() if I 
> understand well).  What's more surprising is that on both computers, my 
> regional settings on KDE are set to a point as decimal separator (but 
> during the first instalation, local parameters were belgian ones - and 
> coma separator-, which should be the source of the problem).  So the 
> call to gtk_set_locale should read the information in another file than 
> the settings of KDE, but which one ?
> 
> Maybe, the solution (but not the nicest !) should be to call 
> gtk_disable_set_locale but how to know which ones will be the 'default' 
> parameters.

Recently, something analogous has been described for gnumeric running on
kde. kde just did not pass the locale to gnumeric, so it is most
probably a kde bug. You might want to use another desktop ;-)

Cheers,
Jean




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