This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED] Add lang_name to various locales.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Chris Leonard <cjlhomeaddress at gmail dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 25 Nov 2013 16:20:50 -0500
- Subject: Re: [COMMITTED] Add lang_name to various locales.
- Authentication-results: sourceware.org; auth=none
- References: <CAHdAatY1yDm632kAXx2COLoXDBmfDdebR4-RLvYTN2M+hEc_5w at mail dot gmail dot com>
On 11/25/2013 03:49 PM, Chris Leonard wrote:
> I originally committed and then immediately reverted the he_IL entry
> pending further understanding of an issue that came up in testing.
>
> Why is it that after adding a lang_name field to the he_IL locale (shown below)
>
> lang_name "<U05E2><U05B4><U05D1><U05B0><U05E8><U05B4><U05D9><U05EA>"
>
>
> does a make of the ISO-8859-8 version of the locale give this error message?
>
> he_IL.ISO-8859-8...locales/he_IL:167: LC_ADDRESS: unknown character in
> field `lang_name'
> done
>
> Is it that the lang_name encodes vowel marks that cannot be
> represented in ISO-8859-8?
Probably.
> http://en.wikipedia.org/wiki/ISO/IEC_8859-8
>
> ISO/IEC 8859-8 covers all the Hebrew letters, but no Hebrew vowel signs.
>
> The rest of the entries built without error.
My expectation here would be that the character map conversion would
turn the vowel marks into nothing and leave the name with the vowel
marks stripped.
You would have to maybe minimally add some kind of mappings in
the ISO-8859-8 charmap for this?
The charmap localedata/charmaps/ISO-8859-8 is pretty small :-)
Cheers,
Carlos.