public inbox for glibc-bugs@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: glibc-bugs
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 on the CC list for the bug, or are watching someone who is.
^ 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).