This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: LC_ADDRESS and other locale updates [was: sr_ME locale country_isbn and int_prefix fix]
- From: Jakub Bogusz <qboosh at pld-linux dot org>
- To: Chris Leonard <cjlhomeaddress at gmail dot com>
- Cc: keld at keldix dot com, libc-alpha <libc-alpha at sourceware dot org>, libc-locales at sourceware dot org
- Date: Sun, 1 Sep 2013 17:14:45 +0200
- Subject: Re: LC_ADDRESS and other locale updates [was: sr_ME locale country_isbn and int_prefix fix]
- Authentication-results: sourceware.org; auth=none
- References: <519D893F dot 70901 at redhat dot com> <20130606081419 dot GA7652 at mail> <51B09452 dot 8040009 at redhat dot com> <20130826185611 dot GA11561 at stranger dot qboosh dot pl> <CAHdAata7caee2Yj7qEJbExVh1L1nn630Ji6YhUWCxRvjYH9WOQ at mail dot gmail dot com> <20130827135844 dot GA32497 at mail> <CAHdAatbdvBRmvneN5V0_mb0OL=SwtWXcipb6WFKJbQF6ZXAjrA at mail dot gmail dot com> <20130827233328 dot GA3273 at www5 dot open-std dot org> <CAHdAatYCgP4KpOAAzoRxFwRyUmO2+vq9sU5Unj9-mOwFJHjVcA at mail dot gmail dot com> <CAHdAatYuGmYMj0Mf8pDy7a0qyGkekTUQ8ux3P89Ddb_5r=653Q at mail dot gmail dot com>
On Sun, Sep 01, 2013 at 07:50:28AM -0400, Chris Leonard wrote:
> Keld,
>
> We are still at an impasse on the proper format for country_isbn.
>
> Jakub believes that it should be quoted in unicode points, where as I
> beiieve it should be a simple numeric.
Just for the comment - I didn't say I think they should be quoted in
unicode points. I wrote that the three forms coexist in existing
locales.
As I investigated now, from the technical, glibc-specific point of view:
country_isbn is internally coded as a (UTF-8) string.
In source file it could be specified as a number (if it's single number
- note that some (>50) countries have more than one ISBN prefix) or as
a string (whether coded as unicode points, or directly).
If there is no formal specification of this field in source file format
(is it covered by ISO TR 30112?), used format would be just a matter of
convention.
--
Jakub Bogusz http://qboosh.pl/