From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16993 invoked from network); 18 Dec 2005 15:26:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Dec 2005 15:26:35 -0000 Received: (qmail 77101 invoked from network); 18 Dec 2005 15:26:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2005 15:26:29 -0000 Received: (qmail 15514 invoked by alias); 18 Dec 2005 15:26:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22093 Received: (qmail 15504 invoked from network); 18 Dec 2005 15:26:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Dec 2005 15:26:25 -0000 Received: (qmail 76736 invoked from network); 18 Dec 2005 15:26:25 -0000 Received: from flock1.newmail.ru (212.48.140.157) by a.mx.sunsite.dk with SMTP; 18 Dec 2005 15:26:24 -0000 Received: (qmail 26277 invoked from network); 18 Dec 2005 15:07:48 -0000 Received: from unknown (HELO cooker.home.net) (arvidjaar@newmail.ru@83.237.195.248) by smtpd.newmail.ru with SMTP; 18 Dec 2005 15:07:48 -0000 From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: Re: PATCH: multibyte FAQ (MacOS X) Date: Sun, 18 Dec 2005 18:26:12 +0300 User-Agent: KMail/1.9 Cc: "Jun T." References: <200512141831.jBEIV3qQ028002@news01.csr.com> In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512181826.21268.arvidjaar@newmail.ru> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 18 December 2005 17:14, Jun T. wrote: > In MacOS X, configure does not enable multibyte by default, because > __STDC_ISO_10646__ is not defined. So "./configure; make" gives a zsh > without multibyte support, although it supports "\u....". [...] > (2) In MacOS X, the standard file system is HFS+ which stores filenames in > Unicode but in fully decomposed form. This means the filename returned by > the completion is also in decomposed form; the filename is displayed > correctly, but it can't be edited correctly. And if I go up/down in the > history stack the prompt is destroyed. > I wonder, when decomposition happens? I.e. consider a program that takes file name as parameter and compares it with result of readdir? Or even worse, it reads it from stdin or file? To be sure - do you mean that e.g. accented characters are internally kept as two characters? Does it agree with ? - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDpX+dR6LMutpd94wRAsXsAKDHBAOweRBjjSKqKRhfTyEKM6sa6QCfdN8v xiqrixpfro2fHjHwSMAZo5g= =igh5 -----END PGP SIGNATURE-----