This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales 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/22515] hsb_DE LC_COLLATE does not use copy "iso14651_t1"


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

--- Comment #1 from Mike FABIAN <maiku.fabian at gmail dot com> ---
https://unicode.org/cldr/trac/browser/trunk/common/collation/hsb.xml

contains:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!--
Copyright © 2014 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification
(http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
  <identity>
    <version number="$Revision: 11914 $" />
    <language type="hsb" />
  </identity>
  <collations>
    <collation type="standard" references="Prawopisny słownik hornjoserbskeje
rěče, Pawoł Völkel,
                                           wobdźěłał Timo Meškank, 1970/2005,
ISBN 3-7420-1920-1 ">
      <cr><![CDATA[
      &C<č<<<Č<ć<<<Ć
      &E<ě<<<Ě
      &H<ch<<<cH<<<Ch<<<CH
      &[before 1] L<ł<<<Ł
      &R<ř<<<Ř
      &S<š<<<Š
      &Z<ž<<<Ž<ź<<<Ź
      ]]></cr>
    </collation>
  </collations>
</ldml>

In glibc, in localedata/locales/hsb_DE, LC_COLLATE contains:

collating-element <D-Z'> from "<U0044><U0179>"
collating-element <D-z'> from "<U0044><U017A>"
collating-element <d-Z'> from "<U0064><U0179>"
collating-element <d-z'> from "<U0064><U017A>"
[...]
<d8>
<D-Z'>  <D-Z'>;<NONE>;<CAPITAL>;IGNORE
<D-z'>  <D-Z'>;<NONE>;<CAPITAL-SMALL>;IGNORE
<d-Z'>  <D-Z'>;<NONE>;<SMALL-CAPITAL>;IGNORE
<d-z'>  <D-Z'>;<NONE>;<SMALL>;IGNORE
[...]

I.e. it contains special rules to sort dź which CLDR has not.

-- 
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]