wrong glibc sort order on pt_BR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLibC |
Confirmed
|
Medium
|
|||
glibc (Suse) |
Unknown
|
Medium
|
|||
glibc (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Tested in 6.06.1 updated.
In pt_BR, the glibc doesn't count spaces in the sort order.
An example sorted by "sort" command:
That list:
GABRIELA HELEDA DE SOUZA
GABRIEL ALCIDES KLIM PERONDI
GABRIELA LETICIA BATISTA NUNES
GABRIELA JACOBY NOS
GABRIEL ALEXANDRE DA SILVA MANICA
GÁBRIEL ALCIDES KLIM PERONDI
GÁBRIELA JACOBY NOS
But the right order is:
GABRIEL ALCIDES KLIM PERONDI
GÁBRIEL ALCIDES KLIM PERONDI
GABRIEL ALEXANDRE DA SILVA MANICA
GABRIELA HELEDA DE SOUZA
GABRIELA JACOBY NOS
GÁBRIELA JACOBY NOS
GABRIELA LETICIA BATISTA NUNES
I find that I can change that on /usr/share/
reorder-after <U00A0>
<U0020>
reorder-end
in the session LC_COLLATE. After generate the locale again, I have the right
sort order.
Changed in glibc: | |
status: | Unknown → Confirmed |
Changed in glibc: | |
status: | Confirmed → Needs Info |
Changed in glibc: | |
status: | Unknown → Confirmed |
Changed in glibc: | |
status: | Confirmed → Needs Info |
Changed in glibc: | |
status: | Incomplete → Invalid |
Changed in glibc: | |
importance: | Unknown → Medium |
Changed in glibc (Suse): | |
importance: | Unknown → Medium |
status: | Invalid → Unknown |
Changed in glibc: | |
status: | Incomplete → Confirmed |
Changed in glibc (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
Hi all.
In pt_BR, the glibc doesn't count spaces in the sort order.
An example:
That list:
GABRIELA HELEDA DE SOUZA
GABRIEL ALCIDES KLIM PERONDI
GABRIELA LETICIA BATISTA NUNES
GABRIELA JACOBY NOS
GABRIEL ALEXANDRE DA SILVA MANICA
GÁBRIEL ALCIDES KLIM PERONDI
GÁBRIELA JACOBY NOS
But the right order is:
GABRIEL ALCIDES KLIM PERONDI
GÁBRIEL ALCIDES KLIM PERONDI
GABRIEL ALEXANDRE DA SILVA MANICA
GABRIELA HELEDA DE SOUZA
GABRIELA JACOBY NOS
GÁBRIELA JACOBY NOS
GABRIELA LETICIA BATISTA NUNES
I find that I can change that on /usr/share/ i18n/locales, adding:
reorder-after <U00A0> <CAP>;< CAP>;<CAP> ;<U0020>
<U0020>
reorder-end
in the session LC_COLLATE. After generate the locale again, I have the right
sort order.