From owner-freebsd-arch@freebsd.org Tue Nov 17 16:46:30 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F3C3A31CD0 for ; Tue, 17 Nov 2015 16:46:30 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DF0E21EF7 for ; Tue, 17 Nov 2015 16:46:29 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DE1B8A31CCE; Tue, 17 Nov 2015 16:46:29 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDB57A31CCD for ; Tue, 17 Nov 2015 16:46:29 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE0D31EF6; Tue, 17 Nov 2015 16:46:29 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacdm15 with SMTP id dm15so13702421pac.3; Tue, 17 Nov 2015 08:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uFRp4vO/FbrgDvO8aUqergL18EuaRd8eIHRoAUoBMDk=; b=hufDPkBhAvQJzA7QN9jhfp3op2w1dCQ0GbQTiJAo54g3tNoq6GCNPziQBiFtS/j8c7 ijG9v5So2U5jjl4Lh0nbvAV0dAPWMuPXcusX0/yeDRh3pDCv+517KGow6zDRPku0pxn3 WeyuEx/pIdeOgcq0p7fnj880MHg8mK/mZulI+vgWJH6lzZUYBlUzBopNYu6G1HMPqQBU 6TSvppq2mNBbI02EFhRFw7BqheXvHKrOo0ZEMhjdXZr4/TVoE1Ec9ncSEDHCqUWzENwu 7xU/W3B3RsN2aYe0CPAXT2PDbBaEPjDWpDi3g94L6tSfZQVhbqYlU5+04G67xLXUCLE+ YFpw== X-Received: by 10.68.65.72 with SMTP id v8mr63774967pbs.142.1447778789260; Tue, 17 Nov 2015 08:46:29 -0800 (PST) Received: from [192.168.20.11] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id fe6sm33433581pab.40.2015.11.17.08.46.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Nov 2015 08:46:27 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Question about ASCII and nl_langinfo (locale work) From: Garrett Cooper X-Mailer: iPhone Mail (13B143) In-Reply-To: Date: Tue, 17 Nov 2015 08:46:26 -0800 Cc: Andrey Chernov , Baptiste Daroussin , arch@freebsd.org, Ed Schouten Content-Transfer-Encoding: quoted-printable Message-Id: <05BE03FC-365D-46BF-9CB9-A83917784F20@gmail.com> References: <20151110222636.GN10134@ivaldir.etoilebsd.net> <564A27CD.7090908@freebsd.org> <20151116210659.GB59189@ivaldir.etoilebsd.net> <564A4FE9.6000403@freebsd.org> To: marino@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 16:46:30 -0000 > On Nov 17, 2015, at 00:22, John Marino (FreeBSD) wrote: >=20 >> On 11/16/2015 10:51 PM, Andrey Chernov wrote: >>> On 17.11.2015 0:06, Baptiste Daroussin wrote: >>> locales the IANA way and are unhappy because that does not work. The fir= st plan >>> in the collation branch was to introduce the IANA syntax via an alias bu= t in the >>> end I removed it, because there was already to many changes. >> For ISO case we don't need aliases and can keep our internal names >> hierarchy honoring POLA. All we need is: >> 1) Convert "ISO-" and "ISO_" to "ISO" for setlocale(3) input. >> 2) Convert from "ISO" to "ISO-" for setlocale(3), nl_langinfo(3) and >> locale(1) output. >=20 > A huge patch just went into GCC libstdc++ testsuite to change all the > locale names to "ISO8859-" because it works for both Linux and *BSD. >=20 > This is a change for changes sake. >=20 > Locale -m lists the encodings. > Locale -a lists the available locales >=20 > This is true on Linux as well. > Nobody is getting POLA'D here. >=20 > Moveover, there is significant work to implement this. We brought up > the possibility of hyphen- and case- sensitivity on DragonFly and the > idea was shot down. The reasons were solid enough. >=20 > There is no standard for encoding, period. Using one source is as valid > another another. I say leave it alone. Windows is probably the closest thing to a standard here. What does it use -= - dashes or underscores? Thanks, -NGie=