This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/11559] New: Wrong sorting of the space in cs_CZ locale
- From: "martin dot edlman at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 30 Apr 2010 05:40:17 -0000
- Subject: [Bug localedata/11559] New: Wrong sorting of the space in cs_CZ locale
- Reply-to: sourceware-bugzilla at sourceware dot org
There is a problem with sorting of the space in the cs_CZ locale (as in many
other locales).
According to Czech Standard 97 6030 Alphabetical ordering (Czech Institute of
Standards, Prague 1993) [Czech: Ä?SN 97 6030 Abecednà Å?azenà (Ä?eský normalizaÄ?nÃ
institut, Praha 1993)]:
The space between two contextual characters should be considered as a single
character. The space is sorted before the first letter of the alphabet. For
example:
Novak Zdenek
Novakova Jana
So I propose to change the behavior of sorting the space from
<U0020> IGNORE;IGNORE;IGNORE;<U0020>
to
<U0020> <U0020>;IGNORE;<U0020>;<U0020>
The problem is that this change takes spaces on the beginning of a line into
account, which is not correct as it sorts "Novák" and "(space)Zounar" as
(space)Zounar
Novák
instead of correct
Novák
(space)Zounar
The same applies to multiple spaces, they should be considered as one space, so
"Novák(space)Jan" and "Novák(space)(space)Zdenek" are incorrectly sorted as
Novák(space)(space)Zdenek
Novák(space)Jan
insted of correct
Novák(space)Jan
Novák(space)(space)Zdenek
Is it possible to fix this behavior in locale definition? It should definitely
solve the problem and fulfill the standard.
--
Summary: Wrong sorting of the space in cs_CZ locale
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: martin dot edlman at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11559
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.