This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Mike FABIAN <mfabian at redhat dot com>, GLIBC Devel <libc-alpha at sourceware dot org>, Marko Myllynen <myllynen at redhat dot com>, Jens Petersen <petersen at redhat dot com>
- Date: Fri, 11 Dec 2015 01:09:58 -0500
- Subject: Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Authentication-results: sourceware.org; auth=none
- References: <s9dlhfbd5i6 dot fsf at ari dot site> <55890F4C dot 7030309 at redhat dot com> <s9dwpyuc0ey dot fsf_-_ at ari dot site> <558AD8AA dot 5060606 at redhat dot com> <s9dwpymirto dot fsf_-_ at ari dot site> <614513495 dot 4646079 dot 1437656891812 dot JavaMail dot zimbra at redhat dot com> <s9dsi8dhdyk dot fsf_-_ at ari dot site> <s9dlhcgygum dot fsf_-_ at ari dot site> <s9dbnbkkexp dot fsf at ari dot site> <s9dmvtmryol dot fsf_-_ at ari dot site> <s9d7fkqp4cb dot fsf_-_ at ari dot site> <s9d8u56mb4u dot fsf_-_ at ari dot site> <s9da8pmjhy7 dot fsf_-_ at ari dot site> <s9dbna2goqd dot fsf_-_ at ari dot site> <s9dd1uicgwg dot fsf_-_ at ari dot site> <s9dd1ui9npq dot fsf_-_ at ari dot site> <56690D17 dot 9050308 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1512101635350 dot 6049 at digraph dot polyomino dot org dot uk> <5669AF8D dot 20808 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1512101731050 dot 6049 at digraph dot polyomino dot org dot uk>
On 12/10/2015 12:32 PM, Joseph Myers wrote:
> On Thu, 10 Dec 2015, Carlos O'Donell wrote:
>
>>> There's also the matter of adding tr_TR LC_CTYPE updates to the Unicode
>>> update automation (see bug 18491).
>>
>> Yes, it would require special automation to fix tr_TR.
>>
>> Shall I commit something like this?
>
> How about fixing Turkish instead of documenting that it's unfixed? Like
> in this patch (testing pending).
Certainly, that's better than documenting it unfixed.
Please commit this when your testing is done, it looks
good to me. See below.
> Automate LC_CTYPE generation for tr_TR, update to Unicode 8.0.0.
>
> This patch makes the automation of Unicode LC_CTYPE generation also
> support generating the modified LC_CTYPE used for Turkish (where case
> conversions of 'i' and 'I' differ from ASCII conventions), so allowing
> that to be more readily kept in sync for future Unicode updates. The
> patch includes the locale update generated by the scripts.
>
> 2015-12-10 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #18491]
> * unicode-gen/unicode_utils.py (to_upper_turkish): New function.
> (to_lower_turkish): Likewise.
> * unicode-gen/gen_unicode_ctype.py (output_tables): Support
> producing output with Turkish case conversions.
> (--turkish): New command-line option.
> * unicode-gen/Makefile (GENERATED): Add tr_TR.
> (tr_TR): New rule.
> * locales/tr_TR: Regenerate LC_CTYPE.
The solution appears correct to me and avoids the duplication.
Manual inspection of tr_TR LC_CTYPE should be all that's required
really unless you want to write a test case for it? Which is never
a bad idea, but a bit of overkill.
Cheers,
Carlos.
- References:
- [PATCHv8] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- [PATCH 0/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- [PATCH 1/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- [PATCH 2/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Re: [PATCH 3/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- [PATCH 4/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0
- Re: [PATCH 5/5][v9] Update the i18n, UTF-8, and translit_* files to Unicode 8.0.0