[PATCH v2] localedata: CLDRv29: update LC_ADDRESS.country_num values

Andreas Schwab schwab@suse.de
Wed Apr 13 15:19:00 GMT 2016


Mike Frysinger <vapier@gentoo.org> writes:

> On 13 Apr 2016 09:23, Andreas Schwab wrote:
>> Either country_num is a plain number, then it should be written as a
>> plain number since the leading zero is ignored, or the leading zero is
>> significant, then it must be encoded as a string to preserve it.
>
> it isn't a string, it's a decimal number.  the code enforces it.
> the leading zero is insignificant here once it's been encoded which
> leaves it as a style choice in the source locales.  since the files
> are meant to match the standards, using the style of the standards
> makes sense.

Just because the standard is confusing doesn't mean we have to follow
it.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list