Date: Sun, 19 Jun 2016 20:16:54 +0300 From: Andrey Chernov <ache@freebsd.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Hajimu UMEMOTO <ume@FreeBSD.org> Subject: Re: svn commit: r302016 - in head: share/timedef tools/tools/locale/tools Message-ID: <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org> In-Reply-To: <20160619170538.qt2kmzr5fo34ekvj@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> <e1c4e728-5abd-3618-1cc1-a63ac64cf63a@freebsd.org> <20160619170538.qt2kmzr5fo34ekvj@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9Chb07Aorhm3nSW9RXFxUV8wR4owxwHAV Content-Type: multipart/mixed; boundary="flFCXQtdfuMgdi61K12UDpQaNU4Tbi9O3" From: Andrey Chernov <ache@freebsd.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Hajimu UMEMOTO <ume@FreeBSD.org> Message-ID: <73ce250f-71f6-7bde-9340-e6b6bf7ce749@freebsd.org> Subject: Re: svn commit: r302016 - in head: share/timedef tools/tools/locale/tools References: <201606190344.u5J3iWO6079652@repo.freebsd.org> <3387744f-7abd-417c-599f-163e78b4170e@freebsd.org> <20160619145233.kjnfyxjb75fdcucz@ivaldir.etoilebsd.net> <20160619154918.etycha7kvj4v7nrp@ivaldir.etoilebsd.net> <e1c4e728-5abd-3618-1cc1-a63ac64cf63a@freebsd.org> <20160619170538.qt2kmzr5fo34ekvj@ivaldir.etoilebsd.net> In-Reply-To: <20160619170538.qt2kmzr5fo34ekvj@ivaldir.etoilebsd.net> --flFCXQtdfuMgdi61K12UDpQaNU4Tbi9O3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 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 --flFCXQtdfuMgdi61K12UDpQaNU4Tbi9O3-- --9Chb07Aorhm3nSW9RXFxUV8wR4owxwHAV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXZtOGAAoJEKUckv0MjfbKtiAH/RO4AWLQDvdvUHsIyi8amFDM QdsZjWAcW3ZBwLp0T7FRQLh6Et197pVJ4jaPIApR0Z5ALTg41H0ZWYsqy19iktbE tkC8rxj3fqWctkwnxnHVGeAuk8FQ5uV8GI1hffjMsVqYc7adovqO1gcIkBiGS9ZQ qqTZ1e/aoPjENbno1X5KwuA/ZpY3YYyesGB0/x8513L9h1mLM6jiaD2+pbcHhX6k kqeI7tHjihgB8aOYMz5to8LiRZ4KbzCEiyG3iMj+Y4QjFYdBqTfxl9+2hNK4pt65 PQOrDw2nGs2PwKKlUYdM+ER44BtF+QX93RdIqdXsqsOvO9QCJgAE0+aoiIJKc9U= =vXYA -----END PGP SIGNATURE----- --9Chb07Aorhm3nSW9RXFxUV8wR4owxwHAV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73ce250f-71f6-7bde-9340-e6b6bf7ce749>