Subject: Incorrect sorting of Polish characters
From: Michał Bartoszkiewicz <[email-masked]>
To: [email-masked]
Date: Sat, 16 Jul 2016 19:17:57 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

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 <[email-masked]>