From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8470 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: First feedback on new C locale problems Date: Wed, 9 Sep 2015 01:56:48 -0400 Message-ID: <20150909055648.GB17773@brightrain.aerifal.cx> References: <20150901063235.GA18457@brightrain.aerifal.cx> 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 1441778229 14278 80.91.229.3 (9 Sep 2015 05:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2015 05:57:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8482-gllmg-musl=m.gmane.org@lists.openwall.com Wed Sep 09 07:57:07 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 1ZZYNU-0003Uj-NI for gllmg-musl@m.gmane.org; Wed, 09 Sep 2015 07:57:04 +0200 Original-Received: (qmail 1534 invoked by uid 550); 9 Sep 2015 05:57:01 -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 1496 invoked from network); 9 Sep 2015 05:57:01 -0000 Content-Disposition: inline In-Reply-To: <20150901063235.GA18457@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8470 Archived-At: On Tue, Sep 01, 2015 at 02:32:35AM -0400, Rich Felker wrote: > What I'd like to do to fix it is just always return "UTF-8" for > nl_langinfo(CODESET) regardless of locale (rather than returning > "UTF-8-CODE-UNITS" when in C locale). POSIX places no requirements on > nl_langinfo that would preclude this, and it seems like it would > restore the desired properties and fix all the regressions. Committed. Rich