Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Incorrect sorting of Polish characters



I have noticed that some Polish characters (at least 'ć' and 'ę' –
U+0107 and U+0119) are sorted incorrectly in glob expansion (but
correctly in other contexts).

Example:
$ export LC_ALL=pl_PL.UTF-8
$ names=(a b c d e f $'\u0105' $'\u0107' $'\u0119')
$ print -o $names
a ą b c ć d e ę f
$ touch $names; print ?
a ą ć ę b c d e f

The ordering given by print -o is the correct one.

I am using zsh 5.2, but the problem also appears in git revision 3e61af3.

Thanks,
--
Michał Bartoszkiewicz <mbartoszkiewicz@xxxxxxxxx>



Messages sorted by: Reverse Date, Date, Thread, Author