From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19605 invoked by alias); 14 Nov 2013 11:12:11 -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: 31981 Received: (qmail 23222 invoked from network); 14 Nov 2013 11:11:56 -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, SPF_HELO_PASS autolearn=ham version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Martin Vaeth Subject: Re: [PATCH] helpfiles: Also accept 'UTF-8' as an encoding name. Date: Thu, 14 Nov 2013 11:11:32 +0000 (UTC) Message-ID: References: <20131112101139.31d67b73@pwslap01u.europe.root.pri> <35BD8D7E-01D5-469D-95DD-3030251D22AB@kba.biglobe.ne.jp> <131113092737.ZM11794@torch.brasslantern.com> <20131114000658.GA52075@redoubt.spodhuis.org> <20131114081859.GA64798@redoubt.spodhuis.org> Reply-To: vaeth@mathematik.uni-wuerzburg.de X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lounge.imp.fu-berlin.de User-Agent: slrn/pre1.0.0-26 (Linux) Phil Pennock wrote: > > Looking more closely, I'm confused: why do we care which character sets > are available, and why are we not just setting `LC_ALL=C` during the > generation? It does not work. (At least on my gentoo box here it is reproducible): After repairing the $lc_type -> $lc_ctype typos, I get: perl ./helpfiles -fC zshbuiltins 11 helpfiles: using LC_CTYPE=C Error executing formatting or display command. System command (cd "/usr/share/man" && (echo ".pl 11i"; \ /usr/bin/unxz -c '/usr/share/man/man1/zshbuiltins.1.xz') | \ /usr/bin/gtbl | /usr/bin/nroff -mandoc | \ /usr/bin/less -+F -LiMXsR --shift 5) exited with status 36096. No manual entry for zshbuiltins helpfiles: not all files were properly generated Similarly with LC_ALL=C, of course. Just changing LC_CTYPE to some utf8 aware locale fixed it. Since this is inherent to man/colcrt/less/whatever is implicitly involved in this pipe, there is not much we can do except setting a working LC_CTYPE.