This is the mail archive of the
mailing list for the glibc project.
Re: [COMMITTED] lt_LT locale: Base collation on copy "iso14651_t1" [BZ #22524]
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: Mike FABIAN <mfabian at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 13 Dec 2017 21:36:26 +0100
- Subject: Re: [COMMITTED] lt_LT locale: Base collation on copy "iso14651_t1" [BZ #22524]
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com>
On 2017-12-08 07:53, Mike FABIAN wrote:
> [BZ #22524]
> * localedata/Makefile: Add lt_LT.UTF-8 to test-input
> and to the list of locales to be built for testing.
> * localedata/lt_LT.UTF-8.in: New file for testing the collation.
> * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
> and build the collation rules upon that.
The lt_LT locale and a few others ones (et_EE and tr_TR) used to sort
upper case letters before lower case ones. Basing the collation on
iso14651_t1 actually changes that. I don't know if the change is
intentional or not.
Debian has a patch from more than 10 years ago that has been very
loosely ported from version to version to add support for
preprocessor-like directives. That way it's possible to add ifdef else
endif directives to support both lower-case-first and upper-case-first
version of iso14651_t1.
Aurelien Jarno GPG: 4096R/1DDD8C9B