From owner-svn-src-head@freebsd.org Sun Jun 19 17:10:24 2016 Return-Path: Delivered-To: svn-src-head@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 EF4D7A7A4A2; Sun, 19 Jun 2016 17:10:24 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 7E0DC24ED; Sun, 19 Jun 2016 17:10:24 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id r201so32336329wme.1; Sun, 19 Jun 2016 10:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qHJpJx9ortWOx28KLDXqUo/N7Q49z6Wb0Pd0w02zmds=; b=EYWhyiDR2LkDIoYv/kAPeQ7pMLPpAmWLing7LTO3kIwy+TrNe9ZITUris0yLsOdZ8g A4BxeijJtX3kXeogpv3x/3a0rYHyo8ekbB3RA6QSWmv7H8+vKRYxCukXt8kCwRxURf8x DVF6EWFBpDtiuZUFuA0mTLOgcsrdTS10WIXc2fvSgBK+O8lsrf/q/cv80DHhYHxpEO/9 luroeGR+L/gTaSdEZ0nyqNpf85mFUFksyso0HfMcrGG97uLOi2U/tTvxMhQlgPNisaMq cv/7acznoJxXTqSHW/+Kl3t79z7TH5yTOEQFfNA5ZTr/z3+Xz/31LBhNCkBaiBfFKVtB xrxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=qHJpJx9ortWOx28KLDXqUo/N7Q49z6Wb0Pd0w02zmds=; b=AgrsVCzY/tl6cmGReUckjmMIeS3v1697ZCN0qeUHTH796PuVl040jrfrZplZyLxbA7 qWQfbWl8nQk6/vRU7EY6b5Jvi8KLtHVjupd4rdLVgKfuIBgt8aBSWspG4LuSiDmU30sH IEg9+++swaf3EozhlO+pWEMWFdSiE5OfPHZZ0vQyy5PiaPtTGtwiCBuGXzsUffc1TxrG 3sxK3DjvoriOiwOF+EdVan5Ue4jMn1yDsw9nIVKLDZGwkdtTKrhWqpnDkj/bgxHBtjCL 2rBzzLXoucFzxL1P/YIRe6g+O4WAj3/QcDYatGCUir3GnemCY7bGllLW+dKTqn4pyIXU mRaQ== X-Gm-Message-State: ALyK8tIdrw8Sd3xBONCjPtCQa7cO7MwxYnjd47GvkCsO2eSJhIF2N6JNzt8qXvlIo2VkPQ== X-Received: by 10.194.203.105 with SMTP id kp9mr11463431wjc.70.1466356222765; Sun, 19 Jun 2016 10:10:22 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id jf3sm28563493wjb.41.2016.06.19.10.10.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 10:10:22 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Jun 2016 19:10:21 +0200 From: Baptiste Daroussin To: Andrey Chernov Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Hajimu UMEMOTO Subject: Re: svn commit: r302016 - in head: share/timedef tools/tools/locale/tools Message-ID: <20160619171021.7ps2te7wgoxfqznv@ivaldir.etoilebsd.net> References: <201606190344.u5J3iWO6079652@repo.freebsd.org> <3387744f-7abd-417c-599f-163e78b4170e@freebsd.org> <20160619145233.kjnfyxjb75fdcucz@ivaldir.etoilebsd.net> <20160619154918.etycha7kvj4v7nrp@ivaldir.etoilebsd.net> <77076d87-41ad-0cce-c703-ed9cef1bdb8b@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="imdvuh4tgkvycob7" Content-Disposition: inline In-Reply-To: <77076d87-41ad-0cce-c703-ed9cef1bdb8b@freebsd.org> User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 17:10:25 -0000 --imdvuh4tgkvycob7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 19, 2016 at 08:05:30PM +0300, Andrey Chernov wrote: > On 19.06.2016 19:52, Andrey Chernov wrote: > > On 19.06.2016 19:47, Andrey Chernov wrote: > >> On 19.06.2016 18:49, Baptiste Daroussin wrote: > >>> On Sun, Jun 19, 2016 at 04:52:34PM +0200, Baptiste Daroussin wrote: > >>>> On Sun, Jun 19, 2016 at 07:57:49AM +0300, Andrey Chernov wrote: > >>>>> On 19.06.2016 6:44, Hajimu UMEMOTO wrote: > >>>>>> Log: > >>>>>> - Prefer to use %d over %e where the day of the month should be = zero > >>>>>> filled. > >>>>>> - Since %e means the day of the month as well, regard %e as same= as %d > >>>>>> in md_order. > >>>>> > >>>>> Nonsense doubled formats in sr_*_RS locales and nonsense md_order t= here too. > >>>> > >>>> Crap I'll dig into it, thanks for spotting it. > >>>> > >>>> Best regards, > >>>> Bapt > >>> > >>> Should be fixed by: > >>> https://people.freebsd.org/~bapt/locale-triple-components.diff > >>> > >>> The perl script generating the locales was badly handling locales wit= h 3 > >>> components, fixed now. > >>> > >>> Sorry about that > >>> > >>> Best regards, > >>> Bapt > >>> > >> > >> sr locales are badly named before anything else, proper format is > >> language[_COUNTRY][.encoding][@variant] > >> I.e. > >> sr_RS.UTF-8@Latn > >> sr_RS.ISO8859-2@Latn > >> sr_RS.ISO8859-t@Cyrl > >> > >> I don't know, if out utilities (f.e. locale(1)) can handle @variant su= ffix. > >> > >> > > =3Dsr_RS.ISO8859-5@Cyrl > > =3Dour, and not utilities only but libc too >=20 > Since right now we have only single @variant per each encoding, and no > @variant for other locales, we can just drop it and use right names like: > sr_RS.UTF-8 We have 2 for the above the Cyrl version and the Latn version > sr_RS.ISO8859-2 > sr_RS.ISO8859-5 We can make aliases easily for that is that is what people want, not the we= have the same for other locales: zh_Hans_CN.GB18030 zh_Hans_CN.GB2312 zh_Hans_CN.GBK zh_Hans_CN.UTF-8 zh_Hans_CN.eucCN zh_Hant_HK.UTF-8 zh_Hant_TW.Big5 zh_Hant_TW.UTF-8 With some aliases for some of the previously existing ones: zh_TW.Big5 zh_TW.UTF-8 zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_CN.UTF-8 zh_CN.eucCN zh_HK.UTF-8 Some of the new locales (that didn't exist before) I have only imported the= new name format: kk_Cyrl_KZ.UTF-8 mn_Cyrl_MN.UTF-8 sr_Cyrl_RS.ISO8859-5 sr_Cyrl_RS.UTF-8 sr_Latn_RS.ISO8859-2 sr_Latn_RS.UTF-8 I would prefer staying on the new syntax given it is allowed by some RFC an= d it is slowly being adopted everywhere else. Btw another RFC: https://www.ietf.org/rfc/rfc5646.txt Best regards, Bapt --imdvuh4tgkvycob7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXZtH9AAoJEGOJi9zxtz5atOwP/jF5+B26EI6I0w3pafvZDbQz 9ZPLoJxWBxKEoX2y57IPOGlbSZfMf3j0OEyEUuZHMxCTO6M8lETmD/GoNOG5m2x2 txuZctZ77wJo5IQChu5MWTLYXeDi8jr0HJvKyAngkN8dJxBbDyjPQFHZPcqh8AKZ ULSBH0MakGKzAXrgwAZf7uv+52JWO+cO5YV8uyqkXWWwlma7UnrrqaEKR5zvqx59 NZ3fxz8a2AQazxQcepnh55sflUBkPRX0ycFrMpUWf4a4lJvub15oKHxfEW8lO3DY AJzNI4nXdyZFV6K7r280AaaK+CVaC2hmVZJQ/Poob+R5wkVF5fnQoBouVizKRMQw 7lfJmGlA4x+hMulsv60bNhjmQLWXj8pqr3RbFFvQxN/1oCUKZxRIUcInqNxbJkE7 CfBcDlcTDdImIZ57ORdKMNVJyp6q0g34t6oXr0blNXsANB+7FHSIGcvQgXnafTVi O0NiPxfnvAng1m6rUaB7XD4NAVekgPAqdVy4QPPRmEq8TlRWUSQNqiHNYX/kkLbJ opxIb47ofmPWf2BPujcGPRSuTkEaSLrXHFfSYAcnEKN9igRRCN0G9iVGGE492Or5 PD3uQy7Y2KRG4x0jtrfiBZXOvwrQyHSuDTyRz0rCf2eD32fG+V1JN+5mqmaBzTcv v/PsstkK1c2NPOiTjO8l =/nxt -----END PGP SIGNATURE----- --imdvuh4tgkvycob7--