Sven Neumann <sven@xxxxxxxx> writes: > Hi, > > Roger Leigh <roger@xxxxxxxxxxxxxxxxxxxxxx> writes: > >> Sven Neumann <sven@xxxxxxxx> writes: >> >> > Note to the gimp-print developers: You should consider to stop using >> > scanf() and similar locale-dependant functions to read your config >> > files. Setting LC_NUMERIC to C is a workaround but it's rather ugly >> > and easy to forget. >> >> What should be used instead (given that Standard C does not have >> locale objects)? > > http://developer.gnome.org/doc/API/2.0/glib/glib-String-Utility-Functions.html#g-ascii-strtod > http://developer.gnome.org/doc/API/2.0/glib/glib-String-Utility-Functions.html#g-ascii-dtostr > http://developer.gnome.org/doc/API/2.0/glib/glib-String-Utility-Functions.html#g-ascii-formatd I wish we were able to use Glib :-( -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.