This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] localedata: i18napis: update LC_ADDRESS.country_post


On 06/11/2016 09:27 AM, Mike Frysinger wrote:
On 11 Jun 2016 08:45, Florian Weimer wrote:
On 06/11/2016 01:07 AM, Mike Frysinger wrote:
  de_DE: changing D to DE

I don't think this is correct, actual historic use within Europe at
least was âDâ (and similar car codes for other countries).

at least w/car codes, "D" is standardized via the UN.  i have another
CL cooking for country_car cleanup.

But I doubt this was the intended usage for car codes, and lack of uniqueness makes them less useful for that.

In any case, I think it is safe to say that LC_ADDRESS.country_post is
now obsolete.

if we want the full country name in caps, libaddressinput provides that
too.

We need the country name in upper case in English or French. The name in the local language is usually insufficient (while DEUTSCHLAND will likely be routed correctly, DÃÃTSCHLAND may work by accident, NÄMSKA only when mailing from the East, and we have German (in the country sense) locales for all these).

however, if we want to go the route of rethinking country_post,
then we might also consider rethinking postal_fmt too.  the requirements
of the current postal systems might be too much for the current spec.
https://github.com/googlei18n/libaddressinput/wiki/AddressValidationMetadata

I doubt how glibc can provide anything useful for application use. The formats are extremely varied, and you need this information when posting things internationally, so for all locales, not just the current's user choice.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]