From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34990 invoked by alias); 2 Nov 2016 16:37:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 34963 invoked by uid 89); 2 Nov 2016 16:37:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=banking, proportional, nbsp, Hx-languages-length:1703 X-HELO: mx2.suse.de Subject: Re: [RFC][PATCH][BZ 20756] Locales: Use Unicode wise thousands separator To: keld@keldix.com References: <93d1a9e6-d627-eebd-a3db-89c51c33811b@suse.cz> <20161102162346.GA16943@www5.open-std.org> Cc: libc-alpha@sourceware.org From: Stanislav Brabec Message-ID: <2bac0d30-035a-78ed-fece-fa032d774147@suse.cz> Date: Wed, 02 Nov 2016 16:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161102162346.GA16943@www5.open-std.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2016-11/txt/msg00064.txt.bz2 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