public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "thomas dot schwanhaeuser at aps-web dot de" <sourceware-bugzilla@sourceware.org>
To: libc-locales@sources.redhat.com
Subject: [Bug localedata/2349] New: wrong number formatting in locales *_CH
Date: Fri, 17 Feb 2006 11:21:00 -0000	[thread overview]
Message-ID: <20060217112141.2349.thomas.schwanhaeuser@aps-web.de> (raw)

Description of problem:

The number formatting in the folllowing locales is wrong in respect of 
thousands
grouping - the sign used is a whitespace, but it should be a "'".

de_CH
de_CH.iso88591
de_CH.utf8
fr_CH
fr_CH.iso88591
fr_CH.utf8
it_CH
it_CH.iso88591
it_CH.utf8


How reproducible:

Always

Steps to Reproduce:

1. Assign a locale, like with setlocale (LC_ALL, 'de_CH'); in PHP
2. Output a number with at least 4 digits left of the decimal delimiter
  
Actual results:

1 234 567 890.00

Expected results:

1'234'567'890.00



In the end, it_CH,de_CH and fr_CH should be the same for the formatting.

So in summary it should be somthing like this:

Numeric definitions
                Decimal point char: '.'
                Thousands separator: '''
        Monetary definitions
                International currency symbol: CHF
                Local currency symbol: Fr.
                Decimal point char: '.'
                Thousands separator: '''
                Symbol for positive monetary values: ''
                Symbol for negative monetary values: '-'
                Fractional digits for international formatting: 2
                Fractional digits for local formatting: 2




To double-check, please have a look at how Microsoft Windows deals with it or 
to the page http://finfox.nzz.ch/s/markets_quotes.xhtml, which shows stock 
quotes and is run by the NZZ, a very important Swiss newspaper.

-- 
           Summary: wrong number formatting in locales *_CH
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: thomas dot schwanhaeuser at aps-web dot de
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2349

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

             reply	other threads:[~2006-02-17 11:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 11:21 thomas dot schwanhaeuser at aps-web dot de [this message]
2006-02-17 11:23 ` [Bug localedata/2349] " thomas dot schwanhaeuser at aps-web dot de
2006-04-24  7:29 ` drepper at redhat dot com

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=20060217112141.2349.thomas.schwanhaeuser@aps-web.de \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@sources.redhat.com \
    /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).