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 v2] localedata: CLDRv29: update LC_ADDRESS.country_num values


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."


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