More information still. The problem lies with the strcoll function, which I verified with a small C program that tries to sort the two strings in question, and with any of the utf8 locales, strcoll gives the wrong answer.
I don't know how to change the "Affects" field of this bug, but it should therefore be a libc bug. My version of libc:
ii libc6-dev 2.4-1ubuntu12 GNU C Library: Development Libraries
I posted this to the bug-coreutils list too and there was some discussion, including one person who reproduced it with Debian unstable - his glibc is:
ii libc6-dev 2.3.6.ds1-9 GNU C Library: Development Libraries
This seems like something pretty serious since it affects default locales and any application that requires sorting, which would be just about everything.
More information still. The problem lies with the strcoll function, which I verified with a small C program that tries to sort the two strings in question, and with any of the utf8 locales, strcoll gives the wrong answer.
I don't know how to change the "Affects" field of this bug, but it should therefore be a libc bug. My version of libc:
ii libc6-dev 2.4-1ubuntu12 GNU C Library: Development Libraries
I posted this to the bug-coreutils list too and there was some discussion, including one person who reproduced it with Debian unstable - his glibc is:
ii libc6-dev 2.3.6.ds1-9 GNU C Library: Development Libraries
That thread starts here: lists.gnu. org/archive/ html/bug- coreutils/ 2007-01/ msg00184. html
http://
This seems like something pretty serious since it affects default locales and any application that requires sorting, which would be just about everything.