public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/22336] New: cs_CZ does not use i18n
@ 2017-10-23  7:10 schwab@linux-m68k.org
  2017-10-23  7:59 ` [Bug localedata/22336] cs_CZ LC_COLLATE " schwab@linux-m68k.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: schwab@linux-m68k.org @ 2017-10-23  7:10 UTC (permalink / raw)
  To: libc-locales

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

            Bug ID: 22336
           Summary: cs_CZ does not use i18n
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

localedata/locales/cs_CZ does not build upon localedata/locales/i18n, missing
all updates from there.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
@ 2017-10-23  7:59 ` schwab@linux-m68k.org
  2017-11-21  3:50 ` maiku.fabian at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: schwab@linux-m68k.org @ 2017-10-23  7:59 UTC (permalink / raw)
  To: libc-locales

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|cs_CZ does not use i18n     |cs_CZ LC_COLLATE does not
                   |                            |use i18n

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
  2017-10-23  7:59 ` [Bug localedata/22336] cs_CZ LC_COLLATE " schwab@linux-m68k.org
  2017-11-21  3:50 ` maiku.fabian at gmail dot com
@ 2017-11-21  3:50 ` maiku.fabian at gmail dot com
  2017-11-24 11:28 ` maiku.fabian at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-11-21  3:50 UTC (permalink / raw)
  To: libc-locales

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

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maiku.fabian at gmail dot com
           Assignee|unassigned at sourceware dot org   |maiku.fabian at gmail dot com

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
  2017-10-23  7:59 ` [Bug localedata/22336] cs_CZ LC_COLLATE " schwab@linux-m68k.org
@ 2017-11-21  3:50 ` maiku.fabian at gmail dot com
  2017-11-21  3:50 ` maiku.fabian at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-11-21  3:50 UTC (permalink / raw)
  To: libc-locales

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

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2017-11-21  3:50 ` maiku.fabian at gmail dot com
@ 2017-11-24 11:28 ` maiku.fabian at gmail dot com
  2017-11-28  9:33 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-11-24 11:28 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #1 from Mike FABIAN <maiku.fabian at gmail dot com> ---
Created attachment 10632
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10632&action=edit
0001-cs_CZ-locale-Base-collation-on-iso14651_t1-BZ-22336.patch

Patch to fix the problem.

Difference in sorting of the added test file (added in the patch)
before and after applying the sorting changes of the patch:

$ diff -u cs_CZ.UTF-8.in.old cs_CZ.UTF-8.in 
--- cs_CZ.UTF-8.in.old  2017-11-24 16:47:52.688348458 +0530
+++ cs_CZ.UTF-8.in      2017-11-24 16:42:08.364221944 +0530
@@ -1,7 +1,3 @@
-ȥ
-Ȥ
-ʒ
-Ʒ
 a
 a
 a
@@ -65,7 +61,6 @@
 cenných
 cenným
 cenou
-cH
 cvrček
 cz
 cZ
@@ -94,8 +89,9 @@
 H
 hruška
 ch
-CH
+cH
 Ch
+CH
 chřestýšům
 Chřestýšům
 chřipka
@@ -188,6 +184,8 @@
 Z
 ź
 Ź
+ȥ
+Ȥ
 za
 Za
 źa
@@ -209,6 +207,8 @@
 Žb
 žluva
 Žluva
+ʒ
+Ʒ
 0
 1
 1

I think "cH" was sorted completely wrong before and "CH" slightly
wrong as well. So this patch seems to not only base the Czech
LC_COLLATE implementation on the iso14651_t1 file as requested in this
bug but also improves the sorting of the uppercase/lowercase variants
of the ch digraph.

And of course it improves the sorting of some non-Czech characters
like ʒ and ȥ because these were not handled at all in the old
Czech LC_COLLATE implementation.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2017-11-24 11:28 ` maiku.fabian at gmail dot com
@ 2017-11-28  9:33 ` cvs-commit at gcc dot gnu.org
  2017-11-28 16:02 ` cvs-commit at gcc dot gnu.org
  2017-11-29 11:07 ` maiku.fabian at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2017-11-28  9:33 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #2 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  f9bb1ef233f7c99312ddc3efb6bc652537e077bc (commit)
      from  f433d0b3bbde748fa7f0941980c3d4d2863dc483 (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=f9bb1ef233f7c99312ddc3efb6bc652537e077bc

commit f9bb1ef233f7c99312ddc3efb6bc652537e077bc
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Fri Nov 24 15:17:18 2017 +0530

    cs_CZ locale: Base collation on iso14651_t1 [BZ #22336]

        [BZ #22336]
        * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
        and implement the collation rules for cs from CLDR on top of that.
        * Makefile: Add cs_CZ.UTF-8 to test-input and to the list
        of locales to be built for testing.
        * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

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

Summary of changes:
 localedata/Makefile       |    4 +-
 localedata/cs_CZ.UTF-8.in |  228 +++++
 localedata/locales/cs_CZ  | 2216 ++-------------------------------------------
 3 files changed, 286 insertions(+), 2162 deletions(-)
 create mode 100644 localedata/cs_CZ.UTF-8.in

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
                   ` (4 preceding siblings ...)
  2017-11-28  9:33 ` cvs-commit at gcc dot gnu.org
@ 2017-11-28 16:02 ` cvs-commit at gcc dot gnu.org
  2017-11-29 11:07 ` maiku.fabian at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2017-11-28 16:02 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #3 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  22c69b6ad63dce90955d3a1d654dd152e7972fdd (commit)
      from  8d7d3ba8c505d84b2bd1946f474d9ddfe4219f0f (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=22c69b6ad63dce90955d3a1d654dd152e7972fdd

commit 22c69b6ad63dce90955d3a1d654dd152e7972fdd
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Tue Nov 28 16:42:13 2017 +0100

    Add the Changelog entry for “cs_CZ locale: Base collation on iso14651_t1
[BZ #22336]”

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

Summary of changes:
 ChangeLog |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug localedata/22336] cs_CZ LC_COLLATE does not use i18n
  2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
                   ` (5 preceding siblings ...)
  2017-11-28 16:02 ` cvs-commit at gcc dot gnu.org
@ 2017-11-29 11:07 ` maiku.fabian at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-11-29 11:07 UTC (permalink / raw)
  To: libc-locales

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

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.27

--- Comment #4 from Mike FABIAN <maiku.fabian at gmail dot com> ---
Fixed in glibc master.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-11-29 11:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23  7:10 [Bug localedata/22336] New: cs_CZ does not use i18n schwab@linux-m68k.org
2017-10-23  7:59 ` [Bug localedata/22336] cs_CZ LC_COLLATE " schwab@linux-m68k.org
2017-11-21  3:50 ` maiku.fabian at gmail dot com
2017-11-21  3:50 ` maiku.fabian at gmail dot com
2017-11-24 11:28 ` maiku.fabian at gmail dot com
2017-11-28  9:33 ` cvs-commit at gcc dot gnu.org
2017-11-28 16:02 ` cvs-commit at gcc dot gnu.org
2017-11-29 11:07 ` maiku.fabian at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).