From: "Michał Bartoszkiewicz" <mbartoszkiewicz@gmail.com>
To: zsh-workers@zsh.org
Subject: Incorrect sorting of Polish characters
Date: Sat, 16 Jul 2016 19:17:57 +0200 [thread overview]
Message-ID: <CAJzQX7rXddxjFA2reSiGYHpU9Razo2vwO5F5g-4Ddz-ZjXZsUQ@mail.gmail.com> (raw)
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@gmail.com>
next reply other threads:[~2016-07-16 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 17:17 Michał Bartoszkiewicz [this message]
2016-07-16 20:07 ` Bart Schaefer
2016-07-18 9:33 ` Peter Stephenson
2016-07-18 10:17 ` Peter Stephenson
2016-07-20 5:05 ` Bart Schaefer
2016-07-20 8:35 ` Peter Stephenson
2016-07-22 0:38 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJzQX7rXddxjFA2reSiGYHpU9Razo2vwO5F5g-4Ddz-ZjXZsUQ@mail.gmail.com \
--to=mbartoszkiewicz@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).