public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Stanislav Brabec <sbrabec@suse.cz>
To: keld@keldix.com
Cc: libc-alpha@sourceware.org
Subject: Re: [RFC][PATCH][BZ 20756] Locales: Use Unicode wise thousands separator
Date: Wed, 02 Nov 2016 16:37:00 -0000	[thread overview]
Message-ID: <2bac0d30-035a-78ed-fece-fa032d774147@suse.cz> (raw)
In-Reply-To: <20161102162346.GA16943@www5.open-std.org>

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

  reply	other threads:[~2016-11-02 16:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 15:53 Stanislav Brabec
2016-11-02 16:24 ` keld
2016-11-02 16:37   ` Stanislav Brabec [this message]
2016-11-02 16:54     ` Carlos O'Donell
2016-11-03  0:14     ` Kalle Olavi Niemitalo
2016-11-03  8:07       ` keld
2016-11-03  8:32       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bac0d30-035a-78ed-fece-fa032d774147@suse.cz \
    --to=sbrabec@suse.cz \
    --cc=keld@keldix.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).