Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 00:51:37 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Ed Schouten <ed@nuxi.nl>, arch@freebsd.org, marino@freebsd.org
Subject:   Re: Question about ASCII and nl_langinfo (locale work)
Message-ID:  <564A4FE9.6000403@freebsd.org>
In-Reply-To: <20151116210659.GB59189@ivaldir.etoilebsd.net>
References:  <20151110222636.GN10134@ivaldir.etoilebsd.net> <CABh_MKkAJmfTrT5qMwvcOcFAviD9h8okOnsH7PJ2x7gxFvY5Yw@mail.gmail.com> <564A27CD.7090908@freebsd.org> <20151116210659.GB59189@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)
--4JVdCN2phdgUEH1IVhFbLtc6Oj1V3db3w
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 17.11.2015 0:06, Baptiste Daroussin wrote:
> locales the IANA way and are unhappy because that does not work. The fi=
rst plan
> in the collation branch was to introduce the IANA syntax via an alias b=
ut 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
http://ache.vniz.net/


--4JVdCN2phdgUEH1IVhFbLtc6Oj1V3db3w
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJWSk/qAAoJEKUckv0MjfbKMQwH/2wnw5PePa5Kx4bnIOdaihiA
WTN6lM6IZqx1rKlQO2NlqmC5zcbVMPEON+IRENpm6yClrjJbJcVdDOVAJGhxmufp
EREZ73lwnG0NvExOjajMhUYRDRZ7Oo7PpyTZKvM0dxHHtF/CpdRAsChJWZa7qZVQ
/CWU/t92ElOMpPFbwQXL6ZOJ6hB+PwoR5bc7WCgOU0tBUE1fHZbVNX7Rypy3kYOs
w14rq4G9dqy6/GLGwdP7POYVqdG3SqAQ4AtZ71nlu7xjUG8Kl6wBCKGhD6e8XXXY
7hSbKfSjcUJnqHeK51u1yAroTb0g+cYwQFe85qIN0bBEfUo1GZ4IuSmRB/Bhfdo=
=xGWO
-----END PGP SIGNATURE-----

--4JVdCN2phdgUEH1IVhFbLtc6Oj1V3db3w--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564A4FE9.6000403>