This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 11/02/2016 12:36 PM, Stanislav Brabec wrote:
> 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.

I agree completely with Stanislav.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]