This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2349
  wrong number formatting in locales *_CH Last modified: 2006-04-24 07:29
     Query page      Enter new bug
Bug#: 2349   Hardware:   Reporter: Thomas Schwanhäuser <thomas.schwanhaeuser@aps-web.de>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: GNU C LIbrary Locale Maintainers <libc-locales@sources.redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Screenshot de_CH on Windows.PNG Screenshot de_CH on Windows image/png 2006-02-17 11:23 Edit None
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2349 depends on: Show dependency tree
Show dependency graph
Bug 2349 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-02-17 11:21
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.

------- Additional Comment #1 From Thomas Schwanhäuser 2006-02-17 11:23 -------
Created an attachment (id=870)
Screenshot de_CH on Windows

------- Additional Comment #2 From Ulrich Drepper 2006-04-24 07:29 -------
I changed the thousand separator for both categories in de_CH.  The question is
what do the other swiss locales need?  Open new bugs if any change is needed.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In