From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2220 invoked by alias); 14 Nov 2013 07:50:54 -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: 31979 Received: (qmail 25533 invoked from network); 14 Nov 2013 07:50:48 -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 07:50:21 +0000 (UTC) Message-ID: References: <131111084228.ZM26372@torch.brasslantern.com> <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> 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: >> perhaps also be checked) there are besides de_* also fy_DE and hsb_DE on >> a Debian installation at my institute (though I do not know what >> they mean). > > ISO 639 language code, followed by ISO 3166 region tag identifying a > regional dialect. Thanks for the information. That it is some sort of German dialect spoken somewhere else was clear to me, that's why I think it *might* be a possible fallback. The more important question concerning the patch is whether it will use utf8 or other character sets. I do not know how to get this information (even less how to get it in a compatible way). It is really a pity that the only "standard" locales (C and POSIX) which a guaranteed do not produce correct files... Anyway, I think this discussion becomes rather academic: It is hard to believe that somebody generates e.g. fy_DE as utf8 on his system but no other *.utf8 locales, even if theoretically possible. So, concerning that patch, I still think it makes no sense to be too careful about fallbacks. After all, if the wrong selection is made for whatever reason, it can be overridden by the option resp. in the makefile by setting a variable. And whoever is generating the distribution tarball hopefully does this on a system which has some *.utf8 locale.