This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/13147] New: incorrect numeric settings for French, Spanish, and German locales
- From: "jbastian at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 01 Sep 2011 19:18:43 +0000
- Subject: [Bug localedata/13147] New: incorrect numeric settings for French, Spanish, and German locales
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13147
Bug #: 13147
Summary: incorrect numeric settings for French, Spanish, and
German locales
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales@sources.redhat.com
ReportedBy: jbastian@redhat.com
Classification: Unclassified
Created attachment 5916
--> http://sourceware.org/bugzilla/attachment.cgi?id=5916
patch to update LC_NUMERIC for de, es and fr
In French (Canadian), the thousands separator is a space; it's a period in
Spanish (Spain) and in German (Austrian). For example, "1 024" or "1.024"
respectively.
The fr_CA, es_ES, and de_AT locales in glibc-2.14 have the thousands separator
incorrectly defined as a null.
I compared the fr_*, es_*, and de_* files in glibc against the latest
Unicode CLDR (Common Locale Data Repository), version 1.9, and patched the
LC_NUMERIC section where appropriate. See the attached patch.
http://unicode.org/Public/cldr/1.9.0/posix.zip
http://unicode.org/cldr/trac/browser/tags/release-1-9/posix/
Please update the es_*, fr_*, and de_* locale definitions.
Version-Release number of selected component (if applicable):
glibc-2.14-5 (Fedora 15)
How reproducible:
Always
Steps to Reproduce:
env LC_ALL=fr_CA.UTF-8 /usr/bin/printf "%'d\n" 4294967296
env LC_ALL=es_ES.UTF-8 /usr/bin/printf "%'d\n" 4294967296
env LC_ALL=de_AT.UTF-8 /usr/bin/printf "%'d\n" 4294967296
Actual Results:
4294967296
4294967296
4294967296
Expected Results:
4 294 967 296
4.294.967.296
4.294.967.296
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.