[PATCH] Use Unicode code points for country_isbn
Mike Frysinger
vapier@gentoo.org
Tue Jul 21 08:18:00 GMT 2015
On 09 Jun 2015 13:12, Marko Myllynen wrote:
> 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.
i find many of the U markers pointlessly obscure, especially when they're used
for characters that are in the ASCII standard. if we're standardizing on UTF8
encodings in general, why can't we convert these files as well ? keep in mind
that i'm ignorant of the tooling around these files ;).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150721/3772ac69/attachment.sig>
More information about the Libc-alpha
mailing list