From owner-freebsd-testing@freebsd.org Sun Nov 15 13:36:58 2015 Return-Path: Delivered-To: freebsd-testing@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 1EECFA2F5C9 for ; Sun, 15 Nov 2015 13:36:58 +0000 (UTC) (envelope-from mailing-machine@vniz.net) 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 E92EA198A for ; Sun, 15 Nov 2015 13:36:57 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mailman.ysv.freebsd.org (Postfix) id E70ABA2F5C8; Sun, 15 Nov 2015 13:36:57 +0000 (UTC) Delivered-To: testing@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 CCE29A2F5C6 for ; Sun, 15 Nov 2015 13:36:57 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) (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 4FB7F1987 for ; Sun, 15 Nov 2015 13:36:57 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by lbbcs9 with SMTP id cs9so75268466lbb.1 for ; Sun, 15 Nov 2015 05:36:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=ZMNU3217hrkV/GOttC06+8YQJwHUfnybxk+jw8K90Hc=; b=MhLBCgqiElVVat0sBZMIaWYAUAL1MJX9VJciyr9XeXRfdYkTVGpGqSebhG4gmcxkK8 PptGL9FoCC4FMGzjWZKUuBet0um9tE8fF1Tu5WCzAJcs4Cik+vQqO/sS81KKnl2MblFG 27ZutGXp7ejhPAzd/kvuhyAUnUE54YTpRk2EKgKsrgNBrn0Cf2hpz7QmCr2DO0mMTFnx vR22YV0XvQvu1KMrd91Dk6a/nl2V1uBnvUv1KaiOKPx8qSQZPhR0LOglkSNcyPDoMCo5 9qO9836NFqguCUDoFvwg5+RU2Zb2mE5kpjPiwqT6J67A5F6pOEO+SmlrjfSBbINeYrnQ wU9Q== X-Gm-Message-State: ALoCoQn2yXL7Vr4Gqhz9ZNS3zSox1xC6YWe9oAdxo+jp8IloyBdvFcb2kKXd7IqT13o4q7IruCEN X-Received: by 10.112.180.131 with SMTP id do3mr14515966lbc.123.1447594615521; Sun, 15 Nov 2015 05:36:55 -0800 (PST) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id m80sm4772904lfm.15.2015.11.15.05.36.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Nov 2015 05:36:54 -0800 (PST) Subject: Re: Need help fixing failing locale tests To: marino@freebsd.org, Baptiste Daroussin References: <69242BD8-9010-47F0-9706-BE206376ECEA@gmail.com> <289892B6-EACE-4BDA-B838-D3DC750319DE@gmail.com> <56482FA9.2010803@marino.st> <56487973.5070803@freebsd.org> <20151115124656.GB93991@ivaldir.etoilebsd.net> <564880FA.5000009@freebsd.org> <564882A3.7060109@marino.st> <5648842E.3050203@freebsd.org> <5648853F.2050901@marino.st> Cc: NGie Cooper , Craig Rodrigues , freebsd-current Current , "freebsd-testing@freebsd.org" From: Andrey Chernov X-Enigmail-Draft-Status: N1110 Message-ID: <56488A76.1090502@freebsd.org> Date: Sun, 15 Nov 2015 16:36:54 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5648853F.2050901@marino.st> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 13:36:58 -0000 On 15.11.2015 16:14, John Marino wrote: >> It is user confusion and his responsibility. It not leads to wrong >> program build f.e. Moreover, you can't protect users who set 8859-1 that >> way, they do not convert to 8859-15 as you assume but start to complain >> everywhere that FreeBSD is not working instead. > > Invalid. "locale -a" shows what locales are available. > The confusion is not with one user. It's with one user that produces > document in one encoding and a second user that choses the wrong one > (usually -1). -15 was designed to replace -1. No end-user use 'locale -a' to check locales. An end-user keep some 8859-1 version is set many years ago, and "FreeBSD not working" problem I tell about is not different text document encoding, but program failure due to inability to set his 8859-1 locale. In any case it is related to the user behavior an various views on it. They can be different and I see no point to insist on my particular view at all. But... Programs configure soft-fails shows real danger here. > OpenBSD removed ISO8859* completely. OpenBSD was never good in locales in any case for all that years and contributes nothing in that area (f.e. Citrus was made by NetBSD). Now they try to simplify their life of supporting them, but since for us now all locales are autogenerated from CLDR I see no room for simplification in that way. Our "cleaned" locales (against to POLA) can be restored by autogeneration with minimal efforts, and they even took very little disk space. > Also invalid. Locales are not standardized with regard to encoding, so > maintaining a museum of locales is specific to FreeBSD. Linux calls > them differently. Most of our (old) locales have the same names as linux ones. -- http://ache.vniz.net/