bpa wrote: > I haven't been able to reproiduce the prpoblem. Trying to install PT_BR > locale on my ubuntu has failed - not sure why. >
Adding -pt_BR.UTF-8 UTF-8- to the bottom of -/etc/locale.gen-, and then running -locale-gen- is all I needed to do on my debian box. Not something I do often... bpa wrote: > > My own preference would be to use strtod_l and then make sure it only > uses the "C" locale - using strtod with different untested locales may > still have surprises. > I was rather hoping that the flac team might have tested operation under locales ! I'll give it further thought. My motivation was: (a) I don't yet understand the nuances of setting/resetting locales within the running program, and don't want to inadvertently confuse matters should it be be used in a different way than we are envisaging. But perhaps -strtod_l + C locale- won't do that. (b) I like the idea of responding equally to '.' and ',' even though LMS itself is only using '.'. Removes surprise for the average user. It's worth noting that flac is already being very restrictive about what it will accept - strictly '0'->'9', '.' & ',', and -strtod- had better consume everything that it has been given. ------------------------------------------------------------------------ mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=110871 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
