[RFC][PATCH][BZ 20756] Locales: Use Unicode wise thousands separator

Stanislav Brabec sbrabec@suse.cz
Wed Nov 2 16:37:00 GMT 2016


keld@keldix.com wrote:
> Hmmm, I don't believe a narrow space is the right thing to do. At least the recommendation
> in Denmark is that if you have numbers  below 10000 then you leave out the
> space or period. And then figures will not be aligned if the with of the separator is
> different from a digit.

The patch does not change letter to NNBSP. It changes only other form of 
spaces (space, NNBSP, en-space) to NNBSP.

The alignment should not be a big issue. Software already has to handle 
it, as letters ".", "'" or "," in most proportional fonts do not have 
the width equal to numerals as well. And they are used in other locales 
including en_US. (And even space does not need to have width equal to 
numerals.)

In non-proportional fonts, NNBSP renders as a standard width space 
(NBSP), so there should not be a problem as well.

> And at least for amount specifications you do not use the space, but the period.

The patch does not change period to space. It changes space to NNBSP.

> All banking applications I have seen in Denmark do not use a space .
> And the few banking apps I have seen in Norway does not use the space either.

Using locale-wise formatting is not mandatory. Application has to ask 
for locale-wise formatting explicitly.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec@suse.com
Křižíkova 148/34 (Corso IIa)                  tel: +49 911 7405384547
186 00 Praha 8-Karlín                          fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76



More information about the Libc-alpha mailing list