> On 17.11.2016 23:33, Eric van Gyzen wrote:
>> $ LANG=fr_FR.UTF-8 locale -k thousands_sep
>> thousands_sep=" "
>> lrwxr-xr-x 1 root wheel 25 Nov 2 13:41
>> /usr/share/locale/fr_FR.UTF-8/LC_NUMERIC -> ../uk_UA.UTF-8/LC_NUMERIC
>> $ cat /usr/share/locale/uk_UA.UTF-8/LC_NUMERIC
>> I'm not sure what Ukraine uses for a thousands separator, but this is
>> definitely wrong for France.
> What do you find broken exactly?
> In fr_FR (I don't know for other french-speaking countries), numbers are
> formatted like this:
> 12 345,67
> Where the English equivalent would be:
> Thus, this fr_FR LC_NUMERIC looks correct to me:
> thousands_sep=" "
Oh! I had thought France used '.' as a thousands separator. Thanks for
correcting me, Jean-Sébastien. Now I'm /certain/ that the libc++ unit tests are
wrong, since they think France uses a ','. :)
On 18.11.2016 15:32, Eric van Gyzen wrote:
> Oh! I had thought France used '.' as a thousands separator. Thanks
> for correcting me, Jean-Sébastien.
FTR, while I was looking for a confirmation I was correct, I found
another rule I never heard about: a space (a narrow non-breaking spaceto
be exact) is used to separate thousands, but only when the number is a
quantity (like "12 345 croissants"). But when the number represents an
index, there should be no separator (like "croissant n°12345").