From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2013-07-11 16:39:52
|
https://bugzilla.gnome.org/show_bug.cgi?id=704000 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |kaf...@gm... Resolution| |NOTABUG --- Comment #1 from Torsten Schoenfeld <kaf...@gm...> 2013-07-11 16:39:39 UTC --- This happens because "use Gtk2 -init" calls Gtk2->init which calls the C function gtk_init which ends up calling setlocale(). This sets up the environment for locale-specific formatting, among other things. And apparently, the hu_HU locale defines the decimal separator to be a comma. The perl interpreter avoids calling setlocale() by default (unless "use locale" is used), which explains the different formatting when "use Gtk2 -init" is not used. You can call Gtk2->disable_setlocale before Gtk2->init if you do not want setlocale() to be called. But notice that if you want to continue to use the "use Gtk2 -init" shortcut, the Gtk2->disable_setlocale call needs to be in a BEGIN block. So, I don't think this is a bug. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |