GNOME Bugzilla – Bug 161986
Can't set margin value when locale has comma as decimal separator
Last modified: 2005-02-10 06:10:50 UTC
In french locale, where decimal separator is comma (,), user set margin values are forgotten as soon printing setup dialog is closed. It doesn't happen when locale is C.
It seems to me that the values are not forgotten but remembered in some modified way...
How to replicate: export LANG=fr_FR.UTF-8 gnumeric Fichier->Configuration de l'impression Change Top margin to 10,0 Valider Fichier->Configuration de l'impression Top margin displays 0,35 now.
*** Bug 165908 has been marked as a duplicate of this bug. ***
The problem is that we are using g_ascii_strtod which explicitly ignores locale to read values generated by printf. When we read '2,0000 cm' it only reads '2' then gets irrate when the unit is ',0000 cm'
Fixed in CVS