Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Directories with multibyte names are never empty
- X-seq: zsh-workers 25135
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Directories with multibyte names are never empty
- Date: Wed, 4 Jun 2008 14:12:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0I2+INumI55evzyfGe3iH9H2Wuwxjag61PASIAkhdPA=; b=QzJKOHX5F+1H1aHm13yej6BMKaSl7EElE7LeNUCuBLG44dlEOor6uF1MYyJLLZMsJX pZLPkQTj2xoGhsmm8hzO1XHka9bbHACPQq2PnXsE/fKGmxF7rONrAYwlNmp7FF/tlDnF 5YJQ1EsWgH1scSHjE3QWlOhpXY5SqwXJhpPw8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=x5STENeemTsHqODPKihXmlbokjVGECudd7gCQ9en3SvSIrczwH6phJK4r5sTDAh1Ha bgax1J3Ebk/6bZRodlDr9Ccw9vAB8nbEaiBObB2ZBDR+90ZnSwlcWZ7jGp0wlvVfB5A6 Re90Os3tC5aInq7/rziBiS82z677yK05EkvOw=
- In-reply-to: <20080604140146.77f2ab35@DervishD>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080604140146.77f2ab35@DervishD>
2008/6/4 Raúl Núñez de Arenas Coronado <raul@xxxxxxxxxxxx>:
> Hi all :)
>
> First of all, my excuses if this is already solved. I haven't been
> following the list with much attention lately and I'm using zsh-4.3.4
> in my Ubuntu, which may be a bit outdated.
>
> This said, the problem is very easy to reproduce:
>
> $ mkdir H
> $ mkdir H/ō <-- This is an "o" with a dash above
> $ mkdir H/a
> $ mkdir H/empty
> $ touch H/a/test
> $ touch H/ō/test
> $ print -l **/*(/^F)
> H/empty
> H/ō
>
> The last output should be just "H/empty", but the directory with the
> "ō" is considered empty, too (and it is obviously not empty).
>
> I have multibyte enabled and my encoding is UTF-8 (both in console and
> in the filesystem). Curiously, this doesn't happen with letters like
> "ñ", "á", "é", etc. which are multibyte and are encoded using two
> bytes in UTF-8, just like "ō" (0x014D => 0xC5 0x8D in UTF-8).
>
> My locale is a mix between en_US-UTF-8 and es_ES-UTF-8 (I want the
> messages in English; date, time, collation and ctype in Spanish).
>
> If you need more information, just tell. Thanks a lot in advance :)
FWIW, it works fine here, 4.3.6-dev-0.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author