From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15227 invoked by alias); 25 Nov 2013 15:38:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32050 Received: (qmail 5416 invoked from network); 25 Nov 2013 15:38:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: Helpfiles again (was Re: modify functions hierarchy (was: etc.)) From: "Jun T." In-Reply-To: <131125001818.ZM26494@torch.brasslantern.com> Date: Mon, 25 Nov 2013 23:24:36 +0900 Content-Transfer-Encoding: 7bit Message-Id: <691AC9C6-D832-42FC-B983-60C682AA5515@kba.biglobe.ne.jp> References: <20131112101139.31d67b73@pwslap01u.europe.root.pri> <20131112174805.26ecab48@pwslap01u.europe.root.pri> <20131112210424.177c035b@pws-pc.ntlworld.com> <20131113092831.2ed6ab94@pwslap01u.europe.root.pri> <20131113112112.1b080b79@pwslap01u.europe.root.pri> <131113080606.ZM11640@torch.brasslantern.com> <131117103047.ZM30518@torch.brasslantern.com> <131117130118.ZM1041@torch.brasslantern.com> <20131120192608.3af3b92c@pws-pc.ntlworld.com> <131120220100.ZM12300@torch.brasslantern.com> <20131123174827.249f9678@pws-pc.ntlworld.com> <131123114714.ZM18477@torch.brasslantern.com> <131123210612.ZM31978@torch.brasslantern.com> <20131124175649.27c2559a@pws! -pc.ntlworld.com> <131125001818.ZM26494@torch.brasslantern.com> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1822) The following two files under Completion/ contain non-UTF-8 character: (1) Completion/Unix/Command/_systemd: line 3, name of the author. The character is an 'e' with accent (in latin1 encoding, i.e., ISO8859-1). (2) Completion/BSD/Command/_portaudit: line 9, just before the '\' at the end of line. The char is 0xA0 (non-breaking space in latin1 encoding?). These characters cause the sed command (line 52 of Config/installfns.sh) to die on Mac OS X if I run 'make install.fns' under UTF-8 locale. # it seems sed on Mac OS X accepts only valid UTF-8 chars if run under # UTF-8 locale I believe the 0xA0 in (2) should be replaced with a simple space 0x20. For (1), a possible workaround is to add export LC_CTYPE=C at the beginning of Config/installfns.sh. It seems the C locale just works fine on Mac (and does no harm on Linux).