public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/2349] New: wrong number formatting in locales *_CH
@ 2006-02-17 11:21 thomas dot schwanhaeuser at aps-web dot de
  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
  0 siblings, 2 replies; 3+ messages in thread
From: thomas dot schwanhaeuser at aps-web dot de @ 2006-02-17 11:21 UTC (permalink / raw)
  To: libc-locales

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/2349] wrong number formatting in locales *_CH
  2006-02-17 11:21 [Bug localedata/2349] New: wrong number formatting in locales *_CH thomas dot schwanhaeuser at aps-web dot de
@ 2006-02-17 11:23 ` thomas dot schwanhaeuser at aps-web dot de
  2006-04-24  7:29 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: thomas dot schwanhaeuser at aps-web dot de @ 2006-02-17 11:23 UTC (permalink / raw)
  To: libc-locales


------- Additional Comments From thomas dot schwanhaeuser at aps-web dot de  2006-02-17 11:23 -------
Created an attachment (id=870)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=870&action=view)
Screenshot de_CH on Windows


-- 


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/2349] wrong number formatting in locales *_CH
  2006-02-17 11:21 [Bug localedata/2349] New: wrong number formatting in locales *_CH thomas dot schwanhaeuser at aps-web dot de
  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
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2006-04-24  7:29 UTC (permalink / raw)
  To: libc-locales


------- Additional Comments From drepper at redhat dot com  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.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-24  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-17 11:21 [Bug localedata/2349] New: wrong number formatting in locales *_CH thomas dot schwanhaeuser at aps-web dot de
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

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).