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/21547] Tibetan script collation broken (Dzongkha and Tibetan)


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

--- Comment #13 from Mike FABIAN <maiku.fabian at gmail dot com> ---
A simpler example. A small rules file:

    mfabian@taka:/local/mfabian/src/glibc (locales *$%)
    $ cat rules-mini.txt
    &b<z
    &d<b
    mfabian@taka:/local/mfabian/src/glibc (locales *$%)

And a simple test file:

    mfabian@taka:/local/mfabian/src/glibc (locales *$%)
    $ cat /tmp/test-latin.in 
    a
    b
    c
    d
    e
    f
    z
    mfabian@taka:/local/mfabian/src/glibc (locales *$%)

Testing:

    mfabian@taka:/local/mfabian/src/glibc (locales *$%)
    $ ~/bin/icu-collation-test.py -r rules-mini.txt -i /tmp/test-latin.in -o
/tmp/test-latin.out
    mfabian@taka:/local/mfabian/src/glibc (locales *$%)

Result:

    mfabian@taka:/local/mfabian/src/glibc (locales *$%)
    $ cat /tmp/test-latin.out 
    a
    z
    c
    d
    b
    e
    f
    mfabian@taka:/local/mfabian/src/glibc (locales *$%)
    $

The first line in the rules file move z after b.  Then the second line
movez b after d. But that does not keep the z aber the b, the z is not
reordered together with the b, z stays where it was originally put by
the first line in the rules file. Moving the reference point b
somewhere else does not move the z.

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