about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
authorMike FABIAN <mfabian@redhat.com>2018-01-31 06:18:47 +0100
committerMike FABIAN <mfabian@redhat.com>2018-02-27 16:50:30 +0100
commitd5adfbadd47e6836a7ddae54fba9f88e2b3354db (patch)
tree4d3ae0c41c53a98fc5b3d7cc1cf7119b6885354c /locale
parent5f5a96109187b4bb4a10b62139ab1c7fe45f7c1d (diff)
downloadglibc-d5adfbadd47e6836a7ddae54fba9f88e2b3354db.tar.gz
glibc-d5adfbadd47e6836a7ddae54fba9f88e2b3354db.tar.xz
glibc-d5adfbadd47e6836a7ddae54fba9f88e2b3354db.zip
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.
Diffstat (limited to 'locale')
0 files changed, 0 insertions, 0 deletions