Comment 10 for bug 452790

Revision history for this message
georgaeie (georg-gac) wrote :

I think this is the root of the problem:

>>> import locale
>>> locale.getlocale()
(None, None)
>>> locale.setlocale(locale.LC_ALL, '')
'nb_NO.UTF-8'
>>> locale.getlocale()
('nb_NO', 'UTF8')
>>> locale.localeconv()['decimal_point']
','
>>> locale.localeconv()['thousands_sep']
'\xc2\xa0'

It probably should have returned '.', I guess.

Regards,
Georg