This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/11559] New: Wrong sorting of the space in cs_CZ locale


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]