From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25158 invoked by alias); 15 Nov 2013 17:17:33 -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: 31987 Received: (qmail 22312 invoked from network); 15 Nov 2013 17:17:27 -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 From: Bart Schaefer Message-id: <131115091656.ZM612@torch.brasslantern.com> Date: Fri, 15 Nov 2013 09:16:56 -0800 In-reply-to: <7AC8C1DC-EADF-4912-8A68-135B83C7DB8D@kba.biglobe.ne.jp> Comments: In reply to "Jun T." "Re: [PATCH] helpfiles: Also accept 'UTF-8' as an encoding name." (Nov 15, 11:58pm) 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> <7AC8C1DC-EADF-4912-8A68-135B83C7DB8D@kba.biglobe.ne.jp> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] helpfiles: Also accept 'UTF-8' as an encoding name. MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 15, 11:58pm, Jun T. wrote: } } I tested several locales and found that the only difference in the } generated help docs is the character used for hyphenation (split a word } at the end of a line); ASCII minus (0x2D) if C locale is used, and } Unicode HYPHEN U+2010 (UTF-8: E2 80 90) if any of UTF-8 locales is used. I get Unicode double-quotes (E2 80 98 and E2 80 99) as well, in my generated help files with the new Util/helpfiles (CentOS). Incidentally, Martin, what's the logic/mnemonic behind using "-f" as the command line switch for setting the character set? # Optionally, you can pass -fLC_CTYPE as an additional first argument. # If do that, this LC_CTYPE is used instead of one specified by a heuristic.