Strange locale dependent sort behaviour
Petter Reinholdtsen
pere@hungry.com
Sun Jun 22 02:17:00 GMT 2003
I just discovered something strange with the handling of eth with sort
-u and the no_NO locale. Notice how the lower case ð disappear after
'sort -u' filter the output:
% echo -e "Ã\nð\na\nA"|LANG=no_NO sort -u
Ã
A
a
% echo -e "Ã\nð\na\nA"|LANG=C sort -u
A
a
Ã
ð
% echo -e "Ã\nð\na\nA"|LANG=nn_NO sort -u
a
A
ð
Ã
%
This is with the locales from glibc 2.2.5 (Debian Woody). Is this
normal behavoir for all characters not listed in the LC_COLLATE
section of a locale?
More information about the Libc-alpha
mailing list