This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
Re: [PATCH] Use Unicode code points for country_isbn
- From: Marko Myllynen <myllynen at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: libc-locales at sourceware dot org
- Date: Tue, 09 Jun 2015 13:12:35 +0300
- Subject: Re: [PATCH] Use Unicode code points for country_isbn
- Authentication-results: sourceware.org; auth=none
- References: <5571B8C2 dot 8000108 at redhat dot com> <20150609071130 dot GA26925 at domone>
- Reply-to: myllynen at redhat dot com
Hi,
On 2015-06-09 10:11, OndÅej BÃlka wrote:
> On Fri, Jun 05, 2015 at 05:57:06PM +0300, Marko Myllynen wrote:
>>
>> make country_isbn definitions consistent across locales by using
>> Unicode code points not numerals everywhere. The code in
>> locale/categories.def and locale/programs/ld-address.c already
>> handles strings.
>>
>> Please apply.
>>
> Possible but why, when these are numbers which are easier to read than
> strings?
that's true, and I don't feel too strongly about this, but currently
some locales are using numbers and some are using Unicode code points so
there's a bit of inconsistency, also it's not that hard to read these
once one sees that e.g. 12 becomes "<U0031><U0032>" i.e. only the last
digit matters.
Thanks,
--
Marko Myllynen