This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/2349] New: wrong number formatting in locales *_CH
- From: "thomas dot schwanhaeuser at aps-web dot de" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 17 Feb 2006 11:21:41 -0000
- Subject: [Bug localedata/2349] New: wrong number formatting in locales *_CH
- Reply-to: sourceware-bugzilla at sourceware dot org
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.