From owner-svn-src-all@freebsd.org Sun Jun 19 17:19:38 2016 Return-Path: Delivered-To: svn-src-all@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 5D523A7A744; Sun, 19 Jun 2016 17:19:38 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 DBE772A01; Sun, 19 Jun 2016 17:19:37 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id 187so8922501wmz.1; Sun, 19 Jun 2016 10:19:37 -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=Uoh/iEoW4Qb3yOet5UgpmAem8U8Tlu1aw1/5rwYyZZc=; b=IwncSFsn51y6ZARx3X9hKwuELr0elfilYxIlqecaqSUEohwIBFHblpGmuJIvnQCO5F Lco2V0I295B3h688lPfX32LsW7+kXs/JEDdT2g1AHyJi94hrSW1pwzk3sHakb5BboSBq Ix34O8N42I+Mbr3uQm5HTOkFL6tNw8LXvraLznOGmN7SLYVDTxR5b3Eiuhs2ZBsGXLqd 4EdT+U8HeBLe2H/bt7pOZUQ/icO2BUgSma9681ShMpRmsswHBSb8jnNVL9RlD8Q8/HlH ortl93QYt/lUvodGKhaGCUzSiu4xtmQwqOVZFzf2KN1moIlJrjwCiN9mio/0pob5WQUl HrmQ== 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=Uoh/iEoW4Qb3yOet5UgpmAem8U8Tlu1aw1/5rwYyZZc=; b=cLOitJHVLI6XPjBmHOewJ8dBwaudhyocoH10wzXH2+G/TaOgoaCKJUfMSlsSF1J1L1 zXUL0xfGHSc0ni8dO2WZqJghou/yitPUSn/YxC7jmskaDhozvxjRBJivKMIEHMclncFg uULNckPKnwK03JqixiRN/enOPVABBt3voruV/u3nb+zX1qojDKbZpUQ1y3hVK0SpHu0u X8+pRs9qA3vqDI+Zembw4HMqQah5zAnXUswCRRYPvmup4F+orSARAlIODiIo29ilv07V hDhoXAbZLTHHO+Ry0j1aIWJ4YAJOpVU4GUhFAghEVlWMWn29/7qAxyjPfPNV7b4ZSvlQ cBHA== X-Gm-Message-State: ALyK8tLnXs8kcZmtFoCy/Pl5uXAGM+Nsi30PWuBoy5Nt8GOHWiC2Od/PpeWNkHsRSYOUvg== X-Received: by 10.28.140.194 with SMTP id o185mr7071079wmd.86.1466356776371; Sun, 19 Jun 2016 10:19:36 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id v200sm9364734wmv.4.2016.06.19.10.19.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 10:19:35 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Jun 2016 19:19:34 +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: <20160619171934.5hxchhcvrbhhxvti@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> <20160619170538.qt2kmzr5fo34ekvj@ivaldir.etoilebsd.net> <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fkepdmjy6vfsgsuy" Content-Disposition: inline In-Reply-To: <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org> User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 17:19:38 -0000 --fkepdmjy6vfsgsuy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 19, 2016 at 08:16:54PM +0300, Andrey Chernov wrote: > On 19.06.2016 20:05, Baptiste Daroussin wrote: > > On Sun, Jun 19, 2016 at 07:47:27PM +0300, 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 > >=20 > > According to what? > >> > >> I don't know, if out utilities (f.e. locale(1)) can handle @variant su= ffix. > >> > > Our syntax is the syntax for the variants that has been the widly adopt= ed: > > Microsoft, ICU, java, python's babel internationalisation thing, > > cldr (of course), CPAN components (Datime::Locales for example) > >=20 > > This is respecting RFC 3066 with the little difference that we use '_' = instead > > of '-' > >=20 > > Best regards, > > Bapt > >=20 >=20 > According to POSIX, but I can't find the reference right now, it is > related to XPG3 or XPG4. It was already many years. > First reference from Google > http://www.boost.org/doc/libs/1_60_0/libs/locale/doc/html/locale_gen.html > Next from Gentoo: > https://wiki.gentoo.org/wiki/Localization/Guide > Microsoft, Linux and GNU iconv understand @-syntax >=20 >=20 As soon as our libc and locale tool support it we can make aliases to suppo= rt both syntax Best regards, Bapt --fkepdmjy6vfsgsuy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXZtQlAAoJEGOJi9zxtz5axGwQAM6N/UorjrdVO1iPAAsvNiNR RsCxmMGj+38WO7m4THozi0ryUaF4bDbS4yDNo5kkwuir8YMsPxjjrFg8M0fA5WZF 0JN4ljLDlh59ZOZuEvOssBB1gNVxoG5ElW+YArxv7M9BoKck0Omdx1liRjCbc2B6 1Y2qmh6T0IMOl5TOtpezpT6hIs9uCn2GzS66XpnQ0yXSsvnqtd+xb3QzAbM0f+aY 491dxmcczdy3vqicJmfVFH2P27UmyD67DWw6KyIfgwKCKMGrm2PtsRIiMJ/XdpVD pZ689njw5jLwCwFz71OOBfceLUHyT+e4nURLKZ/0zTlS5wjK3jrb/gcm9Hm/8rJd AAaveN9VY3SXvn7hkEicpb5QefRd/MfcoWS7Qw1gs7QuL0AFcrKHjiWisqV3R973 3DoCpCvse1qPCouH5ISq0ONRITTC6SDBhb7lvBt9ZiwaVTzDPkrrRIje3hxM45/7 2dz0L6rgw4SoQ2DQaA79FEAT5g6j+/CjM8NzAfrjcfoLsSO6PiMOoLOvajpSAvG7 xzredNs4Lua3KpsTyFDz0YCXNNgT+yO7xTSbJby5dauZWDOx8UB3O97fTiNRSRGV uR/98rodkiN8ObLKg+IxG/gG7lK2VGhKg2X6zvwY0bsPiw2He6Ma+hXj6rGNb6dI c1FrKgpMbGKYPehiJYoC =VA8Q -----END PGP SIGNATURE----- --fkepdmjy6vfsgsuy--