This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/17750] wrong collation order of diacritics in most locales


https://sourceware.org/bugzilla/show_bug.cgi?id=17750

--- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8da25eec0aaf4d86a06088fff8d175989835e071 (commit)
      from  a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8da25eec0aaf4d86a06088fff8d175989835e071

commit 8da25eec0aaf4d86a06088fff8d175989835e071
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Tue Nov 28 16:23:02 2017 +0100

    Collation fix: make forward accent sorting the default [BZ #17750]

        [BZ #17750]
        * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
        * localedata/fr_CA.UTF-8.in: New file with test data for backward
        accents sorting.
        * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
        sorting.
        * localedata/locales/cs_CZ (LC_COLLATE): Remove “define
DIACRIT_FORWARD”
        * localedata/locales/de_DE (LC_COLLATE): Likewise.
        * localedata/locales/hu_HU (LC_COLLATE): Likewise.
        * localedata/locales/lb_LU (LC_COLLATE): Likewise.
        * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
        * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
        * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
        instead of “ifdef DIACRIT_BACKWARD”.

    The only locale which currently needs backward accents sorting is fr_CA.
    Therefore, forward accents sorting should be the default.

    Before this patch, backwards accent sorting was the default and all
    locales except fr_CA had to use

        define DIACRIT_FORWARD

    before

        copy "iso14651_t1"

    Most locales didn’t do that and thus got the inappropriate backwards
accents sorting
    by accident. Now only the fr_CA locale needs to use

        define DIACRIT_BACKWARD

    before

        copy "iso14651_t1"

    Original patch slightly modified by: Mike FABIAN <mfabian@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |   17 +++++++++++++++++
 localedata/Makefile                           |    4 ++--
 localedata/{fr_FR.UTF-8.in => fr_CA.UTF-8.in} |   18 +++++++++---------
 localedata/fr_FR.UTF-8.in                     |   22 +++++++++++-----------
 localedata/locales/cs_CZ                      |    2 --
 localedata/locales/de_DE                      |    2 --
 localedata/locales/fr_CA                      |    2 ++
 localedata/locales/hu_HU                      |    1 -
 localedata/locales/iso14651_t1_common         |    6 +++---
 localedata/locales/lb_LU                      |    2 --
 localedata/locales/yuw_PG                     |    1 -
 11 files changed, 44 insertions(+), 33 deletions(-)
 copy localedata/{fr_FR.UTF-8.in => fr_CA.UTF-8.in} (100%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]