From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11035 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: a bug in bindtextdomain() and strip '.UTF-8' Date: Mon, 13 Feb 2017 08:28:16 -0500 Message-ID: <20170213132816.GG1520@brightrain.aerifal.cx> References: <20170129155507.GK1533@brightrain.aerifal.cx> <20170129163329.GL1533@brightrain.aerifal.cx> <20170208143147.GY1533@brightrain.aerifal.cx> <20170211023610.GA1520@brightrain.aerifal.cx> <20170212023422.GE1520@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1486992513 20846 195.159.176.226 (13 Feb 2017 13:28:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2017 13:28:33 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11050-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 13 14:28:29 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cdGg9-00058G-4f for gllmg-musl@m.gmane.org; Mon, 13 Feb 2017 14:28:29 +0100 Original-Received: (qmail 18291 invoked by uid 550); 13 Feb 2017 13:28:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18273 invoked from network); 13 Feb 2017 13:28:30 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11035 Archived-At: On Mon, Feb 13, 2017 at 04:01:31PM +0800, He X wrote: > New find, as you can see, zh_CN is different from zh_CN.UTF-8, it's GBK > codeset, we can't strip .UTF-8 easily, or we will get a lot of junk: That's on glibc; your "finding" is irrelevant to musl, where the encoding for all locales is UTF-8. Rich