This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/16782] RFE: Minimum number to apply separator
- From: "egmont at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sourceware dot org
- Date: Tue, 13 Oct 2015 19:09:20 +0000
- Subject: [Bug localedata/16782] RFE: Minimum number to apply separator
- Auto-submitted: auto-generated
- References: <bug-16782-716 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16782
Egmont Koblinger <egmont at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egmont at gmail dot com
--- Comment #1 from Egmont Koblinger <egmont at gmail dot com> ---
Just FYI:
In hu_HU the separator (space or dot) is also to be used for numbers of at
least 5 digits, with the exception that if 4-digit numbers and 5+-digit numbers
are mixed in a vertical listing then 4-digit ones also get the separator.
I think it's a reasonable expectation in other locales as well for an app to be
able to nicely format a column a numbers, and for that, if this feature is
implemented then there should be some means by which printf can disable this
conditional.
If I had to choose between the current behavior, or the correct behavior
without having this possibility to make an exception, I'd say I'd probably
choose the former one. That is, I believe implementing this feature without
this extra possibility would cause more harm than good.
Source: the official Hungarian orthograpry rules at
http://helyesiras.mta.hu/helyesiras/default/akh12, bullet point 291/b [in
Hungarian]. The HTML layout is broken here, in the printed book (I have one on
my bookshelf) the column of numbers is right-aligned with the separator spaces
exactly above each other as it makes sense.
Another thing to consider: Is the boundary necessarily a certain number of
digits, rather than some certain value in between? E.g. is it possible that a
language starts inserting the separator from let's say 2000?
--
You are receiving this mail because:
You are on the CC list for the bug.