From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7215 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: libintl: stubs or working functions? Date: Thu, 19 Mar 2015 13:54:43 -0400 Message-ID: <20150319175443.GF23507@brightrain.aerifal.cx> References: <20150316111846.5ce6a90e@r2lynx> <20150316134156.GZ16260@port70.net> <20150317084004.5cbbd4ae@r2lynx> <20150317020119.GX23507@brightrain.aerifal.cx> <20150317135916.3af647ab@r2lynx> <20150317150234.GA16260@port70.net> <20150317153857.GZ23507@brightrain.aerifal.cx> <20150318141020.GH23636@example.net> <20150319124105.GJ23636@example.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1426787703 32583 80.91.229.3 (19 Mar 2015 17:55:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 17:55:03 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7228-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 19 18:55:02 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YYeeo-0002RR-7V for gllmg-musl@m.gmane.org; Thu, 19 Mar 2015 18:54:58 +0100 Original-Received: (qmail 19554 invoked by uid 550); 19 Mar 2015 17:54:56 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19533 invoked from network); 19 Mar 2015 17:54:56 -0000 Content-Disposition: inline In-Reply-To: <20150319124105.GJ23636@example.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7215 Archived-At: On Thu, Mar 19, 2015 at 01:41:05PM +0100, u-wsnj@aetey.se wrote: > On Thu, Mar 19, 2015 at 08:29:41AM +0000, Justin Cormack wrote: > > On Mar 18, 2015 11:10 PM, wrote: > > > IOW I'd like to always have the canonical errname in the output, > > > in English too. > > > Would it make sense for the canonical names to be the output in the C > > locale and English if you set an English locale? > > What I am after is seeing "EXXXXX" as a part of the message with any LANG, > including English: > > LANG=en: "No such file or directory (ENOENT)" > LANG=xx: "&((/&=(/%&/(&%/(/)(/&/ ENOENT" > ... > > It could be nice to have a common convention for all languages > about the formatting of the error reference, like parentheses > around the name and/or placing it rightmost, but this is probably > impossible with some languages. The issues I'm somewhat concerned with are: - Does this interfere with proper flow of RTL text? In absence of bidi nesting chars, I would think the answer might be yes. - Does it result in ugly mix of unmatching fonts in UI, possibly even alterring line spacing? Keep in mind that error messages are not necessarily bugs to be reported upstream but may be informative to users directly. For example a GUI app could be reporting to the user that they file they tried to open is not accessible. Rich