iso14651_t1_common: make the fourth level the codepoint for characters which are...
commitd5adfbadd47e6836a7ddae54fba9f88e2b3354db
authorMike FABIAN <mfabian@redhat.com>
Wed, 31 Jan 2018 05:18:47 +0000 (31 06:18 +0100)
committerMike FABIAN <mfabian@redhat.com>
Tue, 27 Feb 2018 15:50:30 +0000 (27 16:50 +0100)
tree4d3ae0c41c53a98fc5b3d7cc1cf7119b6885354c
parent5f5a96109187b4bb4a10b62139ab1c7fe45f7c1d
iso14651_t1_common: make the fourth level the codepoint for characters which are ignorable on all 4 levels

Entries for characters which have “IGNORE” on all 4 levels like:

 <U0001> IGNORE;IGNORE;IGNORE;IGNORE % START OF HEADING (in ISO 6429)

are changed into:

 <U0001> IGNORE;IGNORE;IGNORE;<U0001> % START OF HEADING (in ISO 6429)

i.e. putting the code point of the character into the fourth level
instead of “IGNORE”. Without that change, all such characters
would compare equal which would make a wcscoll test case fail.
It is better to have a clearly defined sort order even for characters
like this so it is good to use the code point as a tie-break.

* localedata/locales/iso14651_t1_common: Use the code point of a
        character in the fourth collation level instead of IGNORE for all
        entries which have IGNORE on all 4 levels.
ChangeLog
localedata/locales/iso14651_t1_common