Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Incorrect sorting of Polish characters
- X-seq: zsh-workers 38864
- From: Michał Bartoszkiewicz <mbartoszkiewicz@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Incorrect sorting of Polish characters
- Date: Sat, 16 Jul 2016 19:17:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=MtmXW3KTb5EIrCu3aKaqN3dQfSu5c0swB8jZMZWVtHY=; b=L6sH+C0+q3Fcn2+/BQ/oHj5PITuENz5ndzK+dBw7JUIfLPkmKRmBhNpZnqV5tq4tMd B7PXmDdn++VCNwobDj2VLjyQ7LbEplX3lq2v2YChM3LP3dalEhL70WLtQr7YhP3Z8nn8 LzV8SeADZ9VW9IWir2qoquKQB8SJO1YzhPf92NKIkHNUEsGfVGEC5kKbDIOLnYwW2V1Y TYjdU6LSiI2AGqPTEpklhFD5nW8OKoTeQ/FM5D7d9z0vHrYtbqQxreNypi5e/H7WOwt6 9IxQgBax/bOHSLsyESUxYagY8vWvt8OFebPwNElQvoUmlD/1SqJUWYtdPq+d+85w6a9k HVwA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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