From: Roman Cheplyaka <roman.cheplyaka@gmail.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: completion bug in UTF-8 locale
Date: Sun, 20 Aug 2006 23:08:08 +0300 [thread overview]
Message-ID: <20060820200808.GA4049@localdomain> (raw)
In-Reply-To: <20060820180151.6b23348c.p.w.stephenson@ntlworld.com>
On Sun, Aug 20, 2006 at 06:01:51PM +0100, Peter Stephenson wrote:
> On Sun, 20 Aug 2006 10:18:33 +0300
> Roman Cheplyaka <roman.cheplyaka@gmail.com> wrote:
> > I have the following issue in UTF-8 locale:
> > zsh completion works ok in current folder, no matter which files are
> > here.
> > But suppose I have some directory named 'тест' (cyrillic letters).
> > Then
> > % ls те<Tab>
> > completes it to 'тест', but
> > % ls тест/<Tab>
> > doesn't show anything, even if there are no cyrillic-named items in that
> > directory.
> I can't get this, even with zsh -f; it seems to work fine both with my
> own completion set up and the plain old-fashioned defaul.
I've made some more tests. It seems to break at certain letters.. Try for
example directory named "ц" (w/o quotes).
> I'm using the
> locale en_GB.UTF-8, but I tried it with ru_RU.UTF-8 as well. What
> actually are the contents of the directory (ls -a)?
It's irrelevant, I think. Ok, here it is:
% ls -a ц
./ ../ aaaa
> What locale are you
> using?
% locale
LANG=POSIX
LC_CTYPE=ru_UA.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=ru_UA.UTF-8
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
> What version of the shell? (UTF-8 support is new in 3.2, so if
> it's older it won't work well.)
% zsh --version
zsh 4.3.2 (i686-pc-linux-gnu)
% dpkg-query -W zsh
zsh 4.3.2-14
--
Roman I. Cheplyaka
next prev parent reply other threads:[~2006-08-20 20:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060820071833.GA3850@localdomain>
2006-08-20 17:01 ` Peter Stephenson
2006-08-20 20:08 ` Roman Cheplyaka [this message]
2006-08-20 22:18 ` Peter Stephenson
2006-08-26 18:24 ` David Gómez
2006-08-29 18:49 ` Peter Stephenson
2006-08-30 15:54 ` Peter Stephenson
2006-08-30 17:13 ` David Gómez
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=20060820200808.GA4049@localdomain \
--to=roman.cheplyaka@gmail.com \
--cc=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@sunsite.dk \
/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).