From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25431 invoked from network); 20 Aug 2006 20:06:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Aug 2006 20:06:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 73019 invoked from network); 20 Aug 2006 20:06:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Aug 2006 20:06:01 -0000 Received: (qmail 5479 invoked by alias); 20 Aug 2006 20:05:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22647 Received: (qmail 5469 invoked from network); 20 Aug 2006 20:05:57 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Aug 2006 20:05:57 -0000 Received: (qmail 72711 invoked from network); 20 Aug 2006 20:05:57 -0000 Received: from nz-out-0102.google.com (64.233.162.203) by a.mx.sunsite.dk with SMTP; 20 Aug 2006 20:05:55 -0000 Received: by nz-out-0102.google.com with SMTP id 13so913341nzp for ; Sun, 20 Aug 2006 13:05:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=C4MJuqISIllcV4Vf5ryZBW+rE1X5snc2+SsW/1+H2E+LfPs/i94Di6iH9fn1EtvFhY6+/cf92TZTf5ePknRsZVpewaOR5i7X+8ywFdpRj+jbK6fbID3aiymhJh4K4ZzH50ComEt6VzGzeQcS+QqGIv6LLnbGwtPLnvRNyA0Ta/0= Received: by 10.65.237.1 with SMTP id o1mr5900598qbr; Sun, 20 Aug 2006 13:05:54 -0700 (PDT) Received: from crematorium ( [194.44.12.5]) by mx.gmail.com with ESMTP id f14sm225956qba.2006.08.20.13.05.50; Sun, 20 Aug 2006 13:05:54 -0700 (PDT) Date: Sun, 20 Aug 2006 23:08:08 +0300 From: Roman Cheplyaka To: Peter Stephenson Cc: zsh-workers@sunsite.dk Subject: Re: completion bug in UTF-8 locale Message-ID: <20060820200808.GA4049@localdomain> References: <20060820071833.GA3850@localdomain> <20060820180151.6b23348c.p.w.stephenson@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060820180151.6b23348c.p.w.stephenson@ntlworld.com> User-Agent: Mutt/1.5.12-2006-07-14 On Sun, Aug 20, 2006 at 06:01:51PM +0100, Peter Stephenson wrote: > On Sun, 20 Aug 2006 10:18:33 +0300 > Roman Cheplyaka 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 те > > completes it to 'тест', but > > % ls тест/ > > 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