This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH v2] localedata: CLDRv29: update LC_ADDRESS.country_num values
- From: Andreas Schwab <schwab at suse dot de>
- To: Chris Leonard <cjlhomeaddress at gmail dot com>
- Cc: Marko Myllynen <myllynen at redhat dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 13 Apr 2016 17:18:50 +0200
- Subject: Re: [PATCH v2] localedata: CLDRv29: update LC_ADDRESS.country_num values
- Authentication-results: sourceware.org; auth=none
- References: <20160412075804 dot GS6588 at vapier dot lan> <mvmshyruua8 dot fsf at hawking dot suse dot de> <20160412081337 dot GT6588 at vapier dot lan> <mvmoa9futoo dot fsf at hawking dot suse dot de> <20160412082527 dot GV6588 at vapier dot lan> <mvmk2k3ut49 dot fsf at hawking dot suse dot de> <570CB29A dot 6070105 at redhat dot com> <mvmfuurusuj dot fsf at hawking dot suse dot de> <CAHdAatYwoRPqb3go3gYOTB9i-VMz-9RtkFNBiihogMwNUQiF5w at mail dot gmail dot com> <mvmshyqt1jq dot fsf at hawking dot suse dot de> <20160413143827 dot GG6588 at vapier dot lan>
Mike Frysinger <firstname.lastname@example.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
Andreas Schwab, SUSE Labs, email@example.com
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."