Reorder codepoints in some entries of CaseUnfold_11_Table

* enc/unicode/case-folding.rb: Reorder codepoints so that the upper-case
  mapping comes first.
* enc/unicode/9.0.0/casefold.h: Codepoints reordered, upper-case mapping
  flag added.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2016-12-04 01:17:34 +00:00
parent 1fa8bd75a3
commit 31fb4e3ec3
2 changed files with 17 additions and 8 deletions

View file

@ -3851,10 +3851,10 @@ static const CaseUnfold_11_Type CaseUnfold_11_Table[] = {
{0x03b6, {1|U, {0x0396}}},
{0x03b7, {1|U, {0x0397}}},
{0x03b8, {3|U, {0x0398, 0x03d1, 0x03f4}}},
{0x03b9, {3, {0x0345, 0x0399, 0x1fbe}}},
{0x03b9, {3|U, {0x0399, 0x0345, 0x1fbe}}},
{0x03ba, {2|U, {0x039a, 0x03f0}}},
{0x03bb, {1|U, {0x039b}}},
{0x03bc, {2, {0x00b5, 0x039c}}},
{0x03bc, {2|U, {0x039c, 0x00b5}}},
{0x03bd, {1|U, {0x039d}}},
{0x03be, {1|U, {0x039e}}},
{0x03bf, {1|U, {0x039f}}},
@ -4552,7 +4552,7 @@ static const CaseUnfold_11_Type CaseUnfold_11_Table[] = {
{0xa645, {1|U, {0xa644}}},
{0xa647, {1|U, {0xa646}}},
{0xa649, {1|U, {0xa648}}},
{0xa64b, {2, {0x1c88, 0xa64a}}},
{0xa64b, {2|U, {0xa64a, 0x1c88}}},
{0xa64d, {1|U, {0xa64c}}},
{0xa64f, {1|U, {0xa64e}}},
{0xa651, {1|U, {0xa650}}},