decimal separator
- From: Olivier Pierard <pierard mema ucl ac be>
- To: gtk-list gnome org
- Subject: decimal separator
- Date: Mon, 23 Jan 2006 11:56:33 +0100
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.
Thanks for any hint !
Olivier
--
******************************************************
** Olivier Pierard **
** PhD student, UCL **
** Center for Systems Eng. and Appl. Mech. (CESAME) **
** Bâtiment Euler, 4 Avenue G. Lemaitre **
** B-1348 Louvain-la-Neuve, Belgium **
** Tel.:+32 10 47.80.26 **
** Fax.:+32 10 47.21.80 **
** http://www.mema.ucl.ac.be/~pierard **
******************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]