public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Locales: Thousands separator
@ 2018-06-20  8:11 Marko Myllynen
  2018-06-20 13:01 ` Carlos O'Donell
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Marko Myllynen @ 2018-06-20  8:11 UTC (permalink / raw)
  To: GNU C Library; +Cc: Mike Fabian, Stanislav Brabec, Carlos O'Donell

Hi,

Commit 70a6707 [1] changed many locales to use U+202F NARROW NO-BREAK
SPACE (NNBSP) as the thousands separator instead of U+00A0 NO-BREAK
SPACE (NBSP). The patch submission nor the follow-up discussion [2] did
not cite any standards or references as rationale for this change.

CLDR defines thousand separator as NBSP for many of the languages
affected by the change (the presentation on the page below is not
optimal, you'll probably need to check the source code to see that
indeed it's U+00A0 (using the " " notation) which is in use):

https://www.unicode.org/cldr/charts/33/by_type/numbers.symbols.html#a1ef41eaeb6982d

This means that due to the glibc change there is now inconsistency
between the affected glibc locales and any CLDR-using platform. As a
concrete example, Java 9 enabled CLDR locale data by default [3], so
this inconsistency is not limited to cases across different systems but
there might be applications running on a recent GNU/Linux system using
different thousands separator.

I have been under impression that the long-term plan for glibc locales
would be to use CLDR data as source to the extent possible so this
change would seem to be at odds with that plan. I found no indications
from CLDR Trac that CLDR would be switching to NNBSP. This inconsistency
also presents a dilemma for keymap definitions when there is only one
feasible key combination available for producing non-breaking space:
which variant to choose, the glibc one or the CLDR one.

Given the considerations above, what do the glibc maintainers think
about the current situation, is this inconsistency seen as an issue?

1)
https://sourceware.org/git/?p=glibc.git;a=commit;h=70a6707fa15e63591d991761be025e26e8d02bb6
2) https://sourceware.org/ml/libc-alpha/2016-11/msg00062.html
3)
https://docs.oracle.com/javase/9/intl/internationalization-enhancements-jdk-9.htm

Thanks,

-- 
Marko Myllynen

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-12-12 15:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-20  8:11 Locales: Thousands separator Marko Myllynen
2018-06-20 13:01 ` Carlos O'Donell
2018-06-20 13:17   ` Marko Myllynen
2018-06-20 15:36   ` Mike FABIAN
2018-06-20 17:25     ` Marko Myllynen
2018-06-20 21:26       ` Andreas Schwab
2018-06-21 13:07         ` Marko Myllynen
2018-06-25 16:48           ` Marko Myllynen
2018-06-20 16:42   ` Florian Weimer
2018-06-20 15:20 ` Stanislav Brabec
2018-06-20 15:52   ` Mike FABIAN
2019-12-04 16:57   ` Stanislav Brabec
2019-12-12 13:03     ` Marko Myllynen
2019-12-12 14:16       ` Stanislav Brabec
2019-12-12 15:16         ` Marko Myllynen
2018-06-20 22:42 ` Rafal Luzynski
2018-06-21 14:16   ` Carlos O'Donell
2018-06-21 20:31     ` Rafal Luzynski
2018-06-27  6:31       ` Mike FABIAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).