update to Unicode 13.0

Message ID 55668dca-1af6-4fe6-3393-40fe98fe6b3f@towo.net
State New
Headers show
Series
  • update to Unicode 13.0
Related show

Commit Message

Thomas Wolff April 16, 2021, 8:11 p.m.
From 7eaa3c0f97cc90a1f011463412b72f6d8d5f3fe1 Mon Sep 17 00:00:00 2001
From: Thomas Wolff <towo@towo.net>
Date: Fri, 16 Apr 2021 00:00:00 +0200
Subject: [PATCH] update to Unicode 13.0

---
 newlib/libc/ctype/caseconv.t   |  11 +-
 newlib/libc/ctype/categories.t | 191 +++++++++++++++++++++++----------
 newlib/libc/string/combining.t |  67 ++++++------
 newlib/libc/string/wide.t      |  39 ++++---
 4 files changed, 199 insertions(+), 109 deletions(-)

Patch

diff --git a/newlib/libc/ctype/caseconv.t b/newlib/libc/ctype/caseconv.t
index 31eb503fa..a6281b562 100644
--- a/newlib/libc/ctype/caseconv.t
+++ b/newlib/libc/ctype/caseconv.t
@@ -106,6 +106,7 @@ 
   {0x0275, 0, TOUP, -214},
   {0x027D, 0, TOUP, 10727},
   {0x0280, 0, TOUP, -218},
+  {0x0282, 0, TOUP, 42307},
   {0x0283, 0, TOUP, -218},
   {0x0287, 0, TOUP, 42282},
   {0x0288, 0, TOUP, -218},
@@ -182,6 +183,7 @@ 
   {0x1CBD, 2, TOLO, -3008},
   {0x1D79, 0, TOUP, 35332},
   {0x1D7D, 0, TOUP, 3814},
+  {0x1D8E, 0, TOUP, 35384},
   {0x1E00, 149, TO1, EVENCAP},
   {0x1E9B, 0, TOUP, -59},
   {0x1E9E, 0, TOLO, -7615},
@@ -281,6 +283,7 @@ 
   {0xA78B, 1, TO1, ODDCAP},
   {0xA78D, 0, TOLO, -42280},
   {0xA790, 3, TO1, EVENCAP},
+  {0xA794, 0, TOUP, 48},
   {0xA796, 19, TO1, EVENCAP},
   {0xA7AA, 0, TOLO, -42308},
   {0xA7AB, 0, TOLO, -42319},
@@ -291,7 +294,13 @@ 
   {0xA7B1, 0, TOLO, -42282},
   {0xA7B2, 0, TOLO, -42261},
   {0xA7B3, 0, TOLO, 928},
-  {0xA7B4, 5, TO1, EVENCAP},
+  {0xA7B4, 11, TO1, EVENCAP},
+  {0xA7C2, 1, TO1, EVENCAP},
+  {0xA7C4, 0, TOLO, -48},
+  {0xA7C5, 0, TOLO, -42307},
+  {0xA7C6, 0, TOLO, -35384},
+  {0xA7C7, 3, TO1, ODDCAP},
+  {0xA7F5, 1, TO1, ODDCAP},
   {0xAB53, 0, TOUP, -928},
   {0xAB70, 79, TOUP, -38864},
   {0xFF21, 25, TOLO, 32},
diff --git a/newlib/libc/ctype/categories.t b/newlib/libc/ctype/categories.t
index ca7671051..f9c026e19 100644
--- a/newlib/libc/ctype/categories.t
+++ b/newlib/libc/ctype/categories.t
@@ -114,8 +114,8 @@ 
     {CAT_LC, 0x027D, 0},
     {CAT_Ll, 0x027E, 1},
     {CAT_LC, 0x0280, 0},
-    {CAT_Ll, 0x0281, 1},
-    {CAT_LC, 0x0283, 0},
+    {CAT_Ll, 0x0281, 0},
+    {CAT_LC, 0x0282, 1},
     {CAT_Ll, 0x0284, 2},
     {CAT_LC, 0x0287, 5},
     {CAT_Ll, 0x028D, 4},
@@ -253,7 +253,7 @@ 
     {CAT_Po, 0x085E, 0},
     {CAT_Lo, 0x0860, 10},
     {CAT_Lo, 0x08A0, 20},
-    {CAT_Lo, 0x08B6, 7},
+    {CAT_Lo, 0x08B6, 17},
     {CAT_Mn, 0x08D3, 14},
     {CAT_Cf, 0x08E2, 0},
     {CAT_Mn, 0x08E3, 31},
@@ -369,7 +369,7 @@ 
     {CAT_Mc, 0x0B47, 1},
     {CAT_Mc, 0x0B4B, 1},
     {CAT_Mn, 0x0B4D, 0},
-    {CAT_Mn, 0x0B56, 0},
+    {CAT_Mn, 0x0B55, 1},
     {CAT_Mc, 0x0B57, 0},
     {CAT_Lo, 0x0B5C, 1},
     {CAT_Lo, 0x0B5F, 2},
@@ -419,6 +419,7 @@ 
     {CAT_Lo, 0x0C60, 1},
     {CAT_Mn, 0x0C62, 1},
     {CAT_Nd, 0x0C66, 9},
+    {CAT_Po, 0x0C77, 0},
     {CAT_No, 0x0C78, 6},
     {CAT_So, 0x0C7F, 0},
     {CAT_Lo, 0x0C80, 0},
@@ -447,7 +448,7 @@ 
     {CAT_Lo, 0x0CF1, 1},
     {CAT_Mn, 0x0D00, 1},
     {CAT_Mc, 0x0D02, 1},
-    {CAT_Lo, 0x0D05, 7},
+    {CAT_Lo, 0x0D04, 8},
     {CAT_Lo, 0x0D0E, 2},
     {CAT_Lo, 0x0D12, 40},
     {CAT_Mn, 0x0D3B, 1},
@@ -468,6 +469,7 @@ 
     {CAT_No, 0x0D70, 8},
     {CAT_So, 0x0D79, 0},
     {CAT_Lo, 0x0D7A, 5},
+    {CAT_Mn, 0x0D81, 0},
     {CAT_Mc, 0x0D82, 1},
     {CAT_Lo, 0x0D85, 17},
     {CAT_Lo, 0x0D9A, 23},
@@ -495,20 +497,13 @@ 
     {CAT_Po, 0x0E5A, 1},
     {CAT_Lo, 0x0E81, 1},
     {CAT_Lo, 0x0E84, 0},
-    {CAT_Lo, 0x0E87, 1},
-    {CAT_Lo, 0x0E8A, 0},
-    {CAT_Lo, 0x0E8D, 0},
-    {CAT_Lo, 0x0E94, 3},
-    {CAT_Lo, 0x0E99, 6},
-    {CAT_Lo, 0x0EA1, 2},
+    {CAT_Lo, 0x0E86, 4},
+    {CAT_Lo, 0x0E8C, 23},
     {CAT_Lo, 0x0EA5, 0},
-    {CAT_Lo, 0x0EA7, 0},
-    {CAT_Lo, 0x0EAA, 1},
-    {CAT_Lo, 0x0EAD, 3},
+    {CAT_Lo, 0x0EA7, 9},
     {CAT_Mn, 0x0EB1, 0},
     {CAT_Lo, 0x0EB2, 1},
-    {CAT_Mn, 0x0EB4, 5},
-    {CAT_Mn, 0x0EBB, 1},
+    {CAT_Mn, 0x0EB4, 8},
     {CAT_Lo, 0x0EBD, 0},
     {CAT_Lo, 0x0EC0, 4},
     {CAT_Lm, 0x0EC6, 0},
@@ -620,7 +615,8 @@ 
     {CAT_LC, 0x13F8, 5},
     {CAT_Pd, 0x1400, 0},
     {CAT_Lo, 0x1401, 619},
-    {CAT_Po, 0x166D, 1},
+    {CAT_So, 0x166D, 0},
+    {CAT_Po, 0x166E, 0},
     {CAT_Lo, 0x166F, 16},
     {CAT_Zs, 0x1680, 0},
     {CAT_Lo, 0x1681, 25},
@@ -716,6 +712,7 @@ 
     {CAT_Po, 0x1AA8, 5},
     {CAT_Mn, 0x1AB0, 13},
     {CAT_Me, 0x1ABE, 0},
+    {CAT_Mn, 0x1ABF, 1},
     {CAT_Mn, 0x1B00, 3},
     {CAT_Mc, 0x1B04, 0},
     {CAT_Lo, 0x1B05, 46},
@@ -777,12 +774,12 @@ 
     {CAT_Mn, 0x1CE2, 6},
     {CAT_Lo, 0x1CE9, 3},
     {CAT_Mn, 0x1CED, 0},
-    {CAT_Lo, 0x1CEE, 3},
-    {CAT_Mc, 0x1CF2, 1},
+    {CAT_Lo, 0x1CEE, 5},
     {CAT_Mn, 0x1CF4, 0},
     {CAT_Lo, 0x1CF5, 1},
     {CAT_Mc, 0x1CF7, 0},
     {CAT_Mn, 0x1CF8, 1},
+    {CAT_Lo, 0x1CFA, 0},
     {CAT_Ll, 0x1D00, 43},
     {CAT_Lm, 0x1D2C, 62},
     {CAT_Ll, 0x1D6B, 12},
@@ -790,7 +787,9 @@ 
     {CAT_LC, 0x1D79, 0},
     {CAT_Ll, 0x1D7A, 2},
     {CAT_LC, 0x1D7D, 0},
-    {CAT_Ll, 0x1D7E, 28},
+    {CAT_Ll, 0x1D7E, 15},
+    {CAT_LC, 0x1D8E, 0},
+    {CAT_Ll, 0x1D8F, 11},
     {CAT_Lm, 0x1D9B, 36},
     {CAT_Mn, 0x1DC0, 57},
     {CAT_Mn, 0x1DFB, 4},
@@ -1076,8 +1075,7 @@ 
     {CAT_Sm, 0x2B47, 5},
     {CAT_So, 0x2B4D, 38},
     {CAT_So, 0x2B76, 31},
-    {CAT_So, 0x2B98, 48},
-    {CAT_So, 0x2BCA, 52},
+    {CAT_So, 0x2B97, 104},
     {CAT_LC, 0x2C00, 46},
     {CAT_LC, 0x2C30, 46},
     {CAT_LC, 0x2C60, 16},
@@ -1150,7 +1148,9 @@ 
     {CAT_Pd, 0x2E40, 0},
     {CAT_Po, 0x2E41, 0},
     {CAT_Ps, 0x2E42, 0},
-    {CAT_Po, 0x2E43, 11},
+    {CAT_Po, 0x2E43, 12},
+    {CAT_So, 0x2E50, 1},
+    {CAT_Po, 0x2E52, 0},
     {CAT_So, 0x2E80, 25},
     {CAT_So, 0x2E9B, 88},
     {CAT_So, 0x2F00, 213},
@@ -1210,7 +1210,7 @@ 
     {CAT_So, 0x3190, 1},
     {CAT_No, 0x3192, 3},
     {CAT_So, 0x3196, 9},
-    {CAT_Lo, 0x31A0, 26},
+    {CAT_Lo, 0x31A0, 31},
     {CAT_So, 0x31C0, 35},
     {CAT_Lo, 0x31F0, 15},
     {CAT_So, 0x3200, 30},
@@ -1223,11 +1223,10 @@ 
     {CAT_No, 0x3280, 9},
     {CAT_So, 0x328A, 38},
     {CAT_No, 0x32B1, 14},
-    {CAT_So, 0x32C0, 62},
-    {CAT_So, 0x3300, 255},
-    {CAT_Lo, 0x3400, 6581},
+    {CAT_So, 0x32C0, 319},
+    {CAT_Lo, 0x3400, 6591},
     {CAT_So, 0x4DC0, 63},
-    {CAT_Lo, 0x4E00, 20975},
+    {CAT_Lo, 0x4E00, 20988},
     {CAT_Lo, 0xA000, 20},
     {CAT_Lm, 0xA015, 0},
     {CAT_Lo, 0xA016, 1142},
@@ -1270,11 +1269,13 @@ 
     {CAT_LC, 0xA78B, 2},
     {CAT_Ll, 0xA78E, 0},
     {CAT_Lo, 0xA78F, 0},
-    {CAT_LC, 0xA790, 3},
-    {CAT_Ll, 0xA794, 1},
+    {CAT_LC, 0xA790, 4},
+    {CAT_Ll, 0xA795, 0},
     {CAT_LC, 0xA796, 24},
     {CAT_Ll, 0xA7AF, 0},
-    {CAT_LC, 0xA7B0, 9},
+    {CAT_LC, 0xA7B0, 15},
+    {CAT_LC, 0xA7C2, 8},
+    {CAT_LC, 0xA7F5, 1},
     {CAT_Lo, 0xA7F7, 0},
     {CAT_Lm, 0xA7F8, 1},
     {CAT_Ll, 0xA7FA, 0},
@@ -1289,6 +1290,7 @@ 
     {CAT_Mn, 0xA825, 1},
     {CAT_Mc, 0xA827, 0},
     {CAT_So, 0xA828, 3},
+    {CAT_Mn, 0xA82C, 0},
     {CAT_No, 0xA830, 5},
     {CAT_So, 0xA836, 1},
     {CAT_Sc, 0xA838, 0},
@@ -1324,8 +1326,8 @@ 
     {CAT_Mc, 0xA9B4, 1},
     {CAT_Mn, 0xA9B6, 3},
     {CAT_Mc, 0xA9BA, 1},
-    {CAT_Mn, 0xA9BC, 0},
-    {CAT_Mc, 0xA9BD, 3},
+    {CAT_Mn, 0xA9BC, 1},
+    {CAT_Mc, 0xA9BE, 2},
     {CAT_Po, 0xA9C1, 12},
     {CAT_Lm, 0xA9CF, 0},
     {CAT_Nd, 0xA9D0, 9},
@@ -1390,7 +1392,9 @@ 
     {CAT_Ll, 0xAB54, 6},
     {CAT_Sk, 0xAB5B, 0},
     {CAT_Lm, 0xAB5C, 3},
-    {CAT_Ll, 0xAB60, 5},
+    {CAT_Ll, 0xAB60, 8},
+    {CAT_Lm, 0xAB69, 0},
+    {CAT_Sk, 0xAB6A, 1},
     {CAT_LC, 0xAB70, 79},
     {CAT_Lo, 0xABC0, 34},
     {CAT_Mc, 0xABE3, 1},
@@ -1544,7 +1548,7 @@ 
     {CAT_So, 0x10179, 16},
     {CAT_No, 0x1018A, 1},
     {CAT_So, 0x1018C, 2},
-    {CAT_So, 0x10190, 11},
+    {CAT_So, 0x10190, 12},
     {CAT_So, 0x101A0, 0},
     {CAT_So, 0x101D0, 44},
     {CAT_Mn, 0x101FD, 0},
@@ -1642,6 +1646,10 @@ 
     {CAT_Mn, 0x10D24, 3},
     {CAT_Nd, 0x10D30, 9},
     {CAT_No, 0x10E60, 30},
+    {CAT_Lo, 0x10E80, 41},
+    {CAT_Mn, 0x10EAB, 1},
+    {CAT_Pd, 0x10EAD, 0},
+    {CAT_Lo, 0x10EB0, 1},
     {CAT_Lo, 0x10F00, 28},
     {CAT_No, 0x10F1D, 9},
     {CAT_Lo, 0x10F27, 0},
@@ -1649,6 +1657,9 @@ 
     {CAT_Mn, 0x10F46, 10},
     {CAT_No, 0x10F51, 3},
     {CAT_Po, 0x10F55, 4},
+    {CAT_Lo, 0x10FB0, 20},
+    {CAT_No, 0x10FC5, 6},
+    {CAT_Lo, 0x10FE0, 22},
     {CAT_Mc, 0x11000, 0},
     {CAT_Mn, 0x11001, 0},
     {CAT_Mc, 0x11002, 0},
@@ -1679,6 +1690,7 @@ 
     {CAT_Po, 0x11140, 3},
     {CAT_Lo, 0x11144, 0},
     {CAT_Mc, 0x11145, 1},
+    {CAT_Lo, 0x11147, 0},
     {CAT_Lo, 0x11150, 34},
     {CAT_Mn, 0x11173, 0},
     {CAT_Po, 0x11174, 1},
@@ -1693,6 +1705,8 @@ 
     {CAT_Po, 0x111C5, 3},
     {CAT_Mn, 0x111C9, 3},
     {CAT_Po, 0x111CD, 0},
+    {CAT_Mc, 0x111CE, 0},
+    {CAT_Mn, 0x111CF, 0},
     {CAT_Nd, 0x111D0, 9},
     {CAT_Lo, 0x111DA, 0},
     {CAT_Po, 0x111DB, 0},
@@ -1751,9 +1765,10 @@ 
     {CAT_Lo, 0x11447, 3},
     {CAT_Po, 0x1144B, 4},
     {CAT_Nd, 0x11450, 9},
-    {CAT_Po, 0x1145B, 0},
+    {CAT_Po, 0x1145A, 1},
     {CAT_Po, 0x1145D, 0},
     {CAT_Mn, 0x1145E, 0},
+    {CAT_Lo, 0x1145F, 2},
     {CAT_Lo, 0x11480, 47},
     {CAT_Mc, 0x114B0, 2},
     {CAT_Mn, 0x114B3, 5},
@@ -1796,6 +1811,7 @@ 
     {CAT_Mn, 0x116B0, 5},
     {CAT_Mc, 0x116B6, 0},
     {CAT_Mn, 0x116B7, 0},
+    {CAT_Lo, 0x116B8, 0},
     {CAT_Nd, 0x116C0, 9},
     {CAT_Lo, 0x11700, 26},
     {CAT_Mn, 0x1171D, 2},
@@ -1816,7 +1832,34 @@ 
     {CAT_LC, 0x118A0, 63},
     {CAT_Nd, 0x118E0, 9},
     {CAT_No, 0x118EA, 8},
-    {CAT_Lo, 0x118FF, 0},
+    {CAT_Lo, 0x118FF, 7},
+    {CAT_Lo, 0x11909, 0},
+    {CAT_Lo, 0x1190C, 7},
+    {CAT_Lo, 0x11915, 1},
+    {CAT_Lo, 0x11918, 23},
+    {CAT_Mc, 0x11930, 5},
+    {CAT_Mc, 0x11937, 1},
+    {CAT_Mn, 0x1193B, 1},
+    {CAT_Mc, 0x1193D, 0},
+    {CAT_Mn, 0x1193E, 0},
+    {CAT_Lo, 0x1193F, 0},
+    {CAT_Mc, 0x11940, 0},
+    {CAT_Lo, 0x11941, 0},
+    {CAT_Mc, 0x11942, 0},
+    {CAT_Mn, 0x11943, 0},
+    {CAT_Po, 0x11944, 2},
+    {CAT_Nd, 0x11950, 9},
+    {CAT_Lo, 0x119A0, 7},
+    {CAT_Lo, 0x119AA, 38},
+    {CAT_Mc, 0x119D1, 2},
+    {CAT_Mn, 0x119D4, 3},
+    {CAT_Mn, 0x119DA, 1},
+    {CAT_Mc, 0x119DC, 3},
+    {CAT_Mn, 0x119E0, 0},
+    {CAT_Lo, 0x119E1, 0},
+    {CAT_Po, 0x119E2, 0},
+    {CAT_Lo, 0x119E3, 0},
+    {CAT_Mc, 0x119E4, 0},
     {CAT_Lo, 0x11A00, 0},
     {CAT_Mn, 0x11A01, 9},
     {CAT_Lo, 0x11A0B, 39},
@@ -1830,8 +1873,7 @@ 
     {CAT_Mn, 0x11A51, 5},
     {CAT_Mc, 0x11A57, 1},
     {CAT_Mn, 0x11A59, 2},
-    {CAT_Lo, 0x11A5C, 39},
-    {CAT_Lo, 0x11A86, 3},
+    {CAT_Lo, 0x11A5C, 45},
     {CAT_Mn, 0x11A8A, 12},
     {CAT_Mc, 0x11A97, 0},
     {CAT_Mn, 0x11A98, 1},
@@ -1884,11 +1926,18 @@ 
     {CAT_Mn, 0x11EF3, 1},
     {CAT_Mc, 0x11EF5, 1},
     {CAT_Po, 0x11EF7, 1},
+    {CAT_Lo, 0x11FB0, 0},
+    {CAT_No, 0x11FC0, 20},
+    {CAT_So, 0x11FD5, 7},
+    {CAT_Sc, 0x11FDD, 3},
+    {CAT_So, 0x11FE1, 16},
+    {CAT_Po, 0x11FFF, 0},
     {CAT_Lo, 0x12000, 921},
     {CAT_Nl, 0x12400, 110},
     {CAT_Po, 0x12470, 4},
     {CAT_Lo, 0x12480, 195},
     {CAT_Lo, 0x13000, 1070},
+    {CAT_Cf, 0x13430, 8},
     {CAT_Lo, 0x14400, 582},
     {CAT_Lo, 0x16800, 568},
     {CAT_Lo, 0x16A40, 30},
@@ -1911,15 +1960,23 @@ 
     {CAT_LC, 0x16E40, 63},
     {CAT_No, 0x16E80, 22},
     {CAT_Po, 0x16E97, 3},
-    {CAT_Lo, 0x16F00, 68},
+    {CAT_Lo, 0x16F00, 74},
+    {CAT_Mn, 0x16F4F, 0},
     {CAT_Lo, 0x16F50, 0},
-    {CAT_Mc, 0x16F51, 45},
+    {CAT_Mc, 0x16F51, 54},
     {CAT_Mn, 0x16F8F, 3},
     {CAT_Lm, 0x16F93, 12},
     {CAT_Lm, 0x16FE0, 1},
-    {CAT_Lo, 0x17000, 6129},
-    {CAT_Lo, 0x18800, 754},
+    {CAT_Po, 0x16FE2, 0},
+    {CAT_Lm, 0x16FE3, 0},
+    {CAT_Mn, 0x16FE4, 0},
+    {CAT_Mc, 0x16FF0, 1},
+    {CAT_Lo, 0x17000, 6135},
+    {CAT_Lo, 0x18800, 1237},
+    {CAT_Lo, 0x18D00, 8},
     {CAT_Lo, 0x1B000, 286},
+    {CAT_Lo, 0x1B150, 2},
+    {CAT_Lo, 0x1B164, 3},
     {CAT_Lo, 0x1B170, 395},
     {CAT_Lo, 0x1BC00, 106},
     {CAT_Lo, 0x1BC70, 12},
@@ -2036,11 +2093,22 @@ 
     {CAT_Mn, 0x1E01B, 6},
     {CAT_Mn, 0x1E023, 1},
     {CAT_Mn, 0x1E026, 4},
+    {CAT_Lo, 0x1E100, 44},
+    {CAT_Mn, 0x1E130, 6},
+    {CAT_Lm, 0x1E137, 6},
+    {CAT_Nd, 0x1E140, 9},
+    {CAT_Lo, 0x1E14E, 0},
+    {CAT_So, 0x1E14F, 0},
+    {CAT_Lo, 0x1E2C0, 43},
+    {CAT_Mn, 0x1E2EC, 3},
+    {CAT_Nd, 0x1E2F0, 9},
+    {CAT_Sc, 0x1E2FF, 0},
     {CAT_Lo, 0x1E800, 196},
     {CAT_No, 0x1E8C7, 8},
     {CAT_Mn, 0x1E8D0, 6},
     {CAT_LC, 0x1E900, 67},
     {CAT_Mn, 0x1E944, 6},
+    {CAT_Lm, 0x1E94B, 0},
     {CAT_Nd, 0x1E950, 9},
     {CAT_Po, 0x1E95E, 1},
     {CAT_No, 0x1EC71, 58},
@@ -2048,6 +2116,9 @@ 
     {CAT_No, 0x1ECAD, 2},
     {CAT_Sc, 0x1ECB0, 0},
     {CAT_No, 0x1ECB1, 3},
+    {CAT_No, 0x1ED01, 44},
+    {CAT_So, 0x1ED2E, 0},
+    {CAT_No, 0x1ED2F, 14},
     {CAT_Lo, 0x1EE00, 3},
     {CAT_Lo, 0x1EE05, 26},
     {CAT_Lo, 0x1EE21, 1},
@@ -2089,8 +2160,7 @@ 
     {CAT_So, 0x1F0C1, 14},
     {CAT_So, 0x1F0D1, 36},
     {CAT_No, 0x1F100, 12},
-    {CAT_So, 0x1F110, 91},
-    {CAT_So, 0x1F170, 60},
+    {CAT_So, 0x1F10D, 160},
     {CAT_So, 0x1F1E6, 28},
     {CAT_So, 0x1F210, 43},
     {CAT_So, 0x1F240, 8},
@@ -2098,32 +2168,39 @@ 
     {CAT_So, 0x1F260, 5},
     {CAT_So, 0x1F300, 250},
     {CAT_Sk, 0x1F3FB, 4},
-    {CAT_So, 0x1F400, 724},
+    {CAT_So, 0x1F400, 727},
     {CAT_So, 0x1F6E0, 12},
-    {CAT_So, 0x1F6F0, 9},
+    {CAT_So, 0x1F6F0, 12},
     {CAT_So, 0x1F700, 115},
     {CAT_So, 0x1F780, 88},
+    {CAT_So, 0x1F7E0, 11},
     {CAT_So, 0x1F800, 11},
     {CAT_So, 0x1F810, 55},
     {CAT_So, 0x1F850, 9},
     {CAT_So, 0x1F860, 39},
     {CAT_So, 0x1F890, 29},
-    {CAT_So, 0x1F900, 11},
-    {CAT_So, 0x1F910, 46},
-    {CAT_So, 0x1F940, 48},
-    {CAT_So, 0x1F973, 3},
-    {CAT_So, 0x1F97A, 0},
-    {CAT_So, 0x1F97C, 38},
-    {CAT_So, 0x1F9B0, 9},
-    {CAT_So, 0x1F9C0, 2},
-    {CAT_So, 0x1F9D0, 47},
+    {CAT_So, 0x1F8B0, 1},
+    {CAT_So, 0x1F900, 120},
+    {CAT_So, 0x1F97A, 81},
+    {CAT_So, 0x1F9CD, 134},
     {CAT_So, 0x1FA60, 13},
-    {CAT_Lo, 0x20000, 42710},
+    {CAT_So, 0x1FA70, 4},
+    {CAT_So, 0x1FA78, 2},
+    {CAT_So, 0x1FA80, 6},
+    {CAT_So, 0x1FA90, 24},
+    {CAT_So, 0x1FAB0, 6},
+    {CAT_So, 0x1FAC0, 2},
+    {CAT_So, 0x1FAD0, 6},
+    {CAT_So, 0x1FB00, 146},
+    {CAT_So, 0x1FB94, 54},
+    {CAT_Nd, 0x1FBF0, 9},
+    {CAT_Lo, 0x20000, 42717},
     {CAT_Lo, 0x2A700, 4148},
     {CAT_Lo, 0x2B740, 221},
     {CAT_Lo, 0x2B820, 5761},
     {CAT_Lo, 0x2CEB0, 7472},
     {CAT_Lo, 0x2F800, 541},
+    {CAT_Lo, 0x30000, 4938},
     {CAT_Cf, 0xE0001, 0},
     {CAT_Cf, 0xE0020, 95},
     {CAT_Mn, 0xE0100, 239},
diff --git a/newlib/libc/string/combining.t b/newlib/libc/string/combining.t
index 105cacbdf..495972261 100644
--- a/newlib/libc/string/combining.t
+++ b/newlib/libc/string/combining.t
@@ -19,17 +19,17 @@ 
   { 0x0AC7, 0x0AC8 }, { 0x0ACD, 0x0ACD }, { 0x0AE2, 0x0AE3 },
   { 0x0AFA, 0x0AFF }, { 0x0B01, 0x0B01 }, { 0x0B3C, 0x0B3C },
   { 0x0B3F, 0x0B3F }, { 0x0B41, 0x0B44 }, { 0x0B4D, 0x0B4D },
-  { 0x0B56, 0x0B56 }, { 0x0B62, 0x0B63 }, { 0x0B82, 0x0B82 },
+  { 0x0B55, 0x0B56 }, { 0x0B62, 0x0B63 }, { 0x0B82, 0x0B82 },
   { 0x0BC0, 0x0BC0 }, { 0x0BCD, 0x0BCD }, { 0x0C00, 0x0C00 },
   { 0x0C04, 0x0C04 }, { 0x0C3E, 0x0C40 }, { 0x0C46, 0x0C48 },
   { 0x0C4A, 0x0C4D }, { 0x0C55, 0x0C56 }, { 0x0C62, 0x0C63 },
   { 0x0C81, 0x0C81 }, { 0x0CBC, 0x0CBC }, { 0x0CBF, 0x0CBF },
   { 0x0CC6, 0x0CC6 }, { 0x0CCC, 0x0CCD }, { 0x0CE2, 0x0CE3 },
   { 0x0D00, 0x0D01 }, { 0x0D3B, 0x0D3C }, { 0x0D41, 0x0D44 },
-  { 0x0D4D, 0x0D4D }, { 0x0D62, 0x0D63 }, { 0x0DCA, 0x0DCA },
-  { 0x0DD2, 0x0DD4 }, { 0x0DD6, 0x0DD6 }, { 0x0E31, 0x0E31 },
-  { 0x0E34, 0x0E3A }, { 0x0E47, 0x0E4E }, { 0x0EB1, 0x0EB1 },
-  { 0x0EB4, 0x0EB9 }, { 0x0EBB, 0x0EBC }, { 0x0EC8, 0x0ECD },
+  { 0x0D4D, 0x0D4D }, { 0x0D62, 0x0D63 }, { 0x0D81, 0x0D81 },
+  { 0x0DCA, 0x0DCA }, { 0x0DD2, 0x0DD4 }, { 0x0DD6, 0x0DD6 },
+  { 0x0E31, 0x0E31 }, { 0x0E34, 0x0E3A }, { 0x0E47, 0x0E4E },
+  { 0x0EB1, 0x0EB1 }, { 0x0EB4, 0x0EBC }, { 0x0EC8, 0x0ECD },
   { 0x0F18, 0x0F19 }, { 0x0F35, 0x0F35 }, { 0x0F37, 0x0F37 },
   { 0x0F39, 0x0F39 }, { 0x0F71, 0x0F7E }, { 0x0F80, 0x0F84 },
   { 0x0F86, 0x0F87 }, { 0x0F8D, 0x0F97 }, { 0x0F99, 0x0FBC },
@@ -46,7 +46,7 @@ 
   { 0x1A17, 0x1A18 }, { 0x1A1B, 0x1A1B }, { 0x1A56, 0x1A56 },
   { 0x1A58, 0x1A5E }, { 0x1A60, 0x1A60 }, { 0x1A62, 0x1A62 },
   { 0x1A65, 0x1A6C }, { 0x1A73, 0x1A7C }, { 0x1A7F, 0x1A7F },
-  { 0x1AB0, 0x1ABE }, { 0x1B00, 0x1B03 }, { 0x1B34, 0x1B34 },
+  { 0x1AB0, 0x1AC0 }, { 0x1B00, 0x1B03 }, { 0x1B34, 0x1B34 },
   { 0x1B36, 0x1B3A }, { 0x1B3C, 0x1B3C }, { 0x1B42, 0x1B42 },
   { 0x1B6B, 0x1B73 }, { 0x1B80, 0x1B81 }, { 0x1BA2, 0x1BA5 },
   { 0x1BA8, 0x1BA9 }, { 0x1BAB, 0x1BAD }, { 0x1BE6, 0x1BE6 },
@@ -60,26 +60,27 @@ 
   { 0x302A, 0x302D }, { 0x3099, 0x309A }, { 0xA66F, 0xA672 },
   { 0xA674, 0xA67D }, { 0xA69E, 0xA69F }, { 0xA6F0, 0xA6F1 },
   { 0xA802, 0xA802 }, { 0xA806, 0xA806 }, { 0xA80B, 0xA80B },
-  { 0xA825, 0xA826 }, { 0xA8C4, 0xA8C5 }, { 0xA8E0, 0xA8F1 },
-  { 0xA8FF, 0xA8FF }, { 0xA926, 0xA92D }, { 0xA947, 0xA951 },
-  { 0xA980, 0xA982 }, { 0xA9B3, 0xA9B3 }, { 0xA9B6, 0xA9B9 },
-  { 0xA9BC, 0xA9BC }, { 0xA9E5, 0xA9E5 }, { 0xAA29, 0xAA2E },
-  { 0xAA31, 0xAA32 }, { 0xAA35, 0xAA36 }, { 0xAA43, 0xAA43 },
-  { 0xAA4C, 0xAA4C }, { 0xAA7C, 0xAA7C }, { 0xAAB0, 0xAAB0 },
-  { 0xAAB2, 0xAAB4 }, { 0xAAB7, 0xAAB8 }, { 0xAABE, 0xAABF },
-  { 0xAAC1, 0xAAC1 }, { 0xAAEC, 0xAAED }, { 0xAAF6, 0xAAF6 },
-  { 0xABE5, 0xABE5 }, { 0xABE8, 0xABE8 }, { 0xABED, 0xABED },
-  { 0xD7B0, 0xD7C6 }, { 0xD7CB, 0xD7FB }, { 0xFB1E, 0xFB1E },
-  { 0xFE00, 0xFE0F }, { 0xFE20, 0xFE2F }, { 0xFEFF, 0xFEFF },
-  { 0xFFF9, 0xFFFB }, { 0x101FD, 0x101FD }, { 0x102E0, 0x102E0 },
-  { 0x10376, 0x1037A }, { 0x10A01, 0x10A03 }, { 0x10A05, 0x10A06 },
-  { 0x10A0C, 0x10A0F }, { 0x10A38, 0x10A3A }, { 0x10A3F, 0x10A3F },
-  { 0x10AE5, 0x10AE6 }, { 0x10D24, 0x10D27 }, { 0x10F46, 0x10F50 },
-  { 0x11001, 0x11001 }, { 0x11038, 0x11046 }, { 0x1107F, 0x11081 },
-  { 0x110B3, 0x110B6 }, { 0x110B9, 0x110BA }, { 0x110BD, 0x110BD },
-  { 0x110CD, 0x110CD }, { 0x11100, 0x11102 }, { 0x11127, 0x1112B },
-  { 0x1112D, 0x11134 }, { 0x11173, 0x11173 }, { 0x11180, 0x11181 },
-  { 0x111B6, 0x111BE }, { 0x111C9, 0x111CC }, { 0x1122F, 0x11231 },
+  { 0xA825, 0xA826 }, { 0xA82C, 0xA82C }, { 0xA8C4, 0xA8C5 },
+  { 0xA8E0, 0xA8F1 }, { 0xA8FF, 0xA8FF }, { 0xA926, 0xA92D },
+  { 0xA947, 0xA951 }, { 0xA980, 0xA982 }, { 0xA9B3, 0xA9B3 },
+  { 0xA9B6, 0xA9B9 }, { 0xA9BC, 0xA9BD }, { 0xA9E5, 0xA9E5 },
+  { 0xAA29, 0xAA2E }, { 0xAA31, 0xAA32 }, { 0xAA35, 0xAA36 },
+  { 0xAA43, 0xAA43 }, { 0xAA4C, 0xAA4C }, { 0xAA7C, 0xAA7C },
+  { 0xAAB0, 0xAAB0 }, { 0xAAB2, 0xAAB4 }, { 0xAAB7, 0xAAB8 },
+  { 0xAABE, 0xAABF }, { 0xAAC1, 0xAAC1 }, { 0xAAEC, 0xAAED },
+  { 0xAAF6, 0xAAF6 }, { 0xABE5, 0xABE5 }, { 0xABE8, 0xABE8 },
+  { 0xABED, 0xABED }, { 0xD7B0, 0xD7C6 }, { 0xD7CB, 0xD7FB },
+  { 0xFB1E, 0xFB1E }, { 0xFE00, 0xFE0F }, { 0xFE20, 0xFE2F },
+  { 0xFEFF, 0xFEFF }, { 0xFFF9, 0xFFFB }, { 0x101FD, 0x101FD },
+  { 0x102E0, 0x102E0 }, { 0x10376, 0x1037A }, { 0x10A01, 0x10A03 },
+  { 0x10A05, 0x10A06 }, { 0x10A0C, 0x10A0F }, { 0x10A38, 0x10A3A },
+  { 0x10A3F, 0x10A3F }, { 0x10AE5, 0x10AE6 }, { 0x10D24, 0x10D27 },
+  { 0x10EAB, 0x10EAC }, { 0x10F46, 0x10F50 }, { 0x11001, 0x11001 },
+  { 0x11038, 0x11046 }, { 0x1107F, 0x11081 }, { 0x110B3, 0x110B6 },
+  { 0x110B9, 0x110BA }, { 0x110BD, 0x110BD }, { 0x110CD, 0x110CD },
+  { 0x11100, 0x11102 }, { 0x11127, 0x1112B }, { 0x1112D, 0x11134 },
+  { 0x11173, 0x11173 }, { 0x11180, 0x11181 }, { 0x111B6, 0x111BE },
+  { 0x111C9, 0x111CC }, { 0x111CF, 0x111CF }, { 0x1122F, 0x11231 },
   { 0x11234, 0x11234 }, { 0x11236, 0x11237 }, { 0x1123E, 0x1123E },
   { 0x112DF, 0x112DF }, { 0x112E3, 0x112EA }, { 0x11300, 0x11301 },
   { 0x1133B, 0x1133C }, { 0x11340, 0x11340 }, { 0x11366, 0x1136C },
@@ -91,7 +92,9 @@ 
   { 0x1163F, 0x11640 }, { 0x116AB, 0x116AB }, { 0x116AD, 0x116AD },
   { 0x116B0, 0x116B5 }, { 0x116B7, 0x116B7 }, { 0x1171D, 0x1171F },
   { 0x11722, 0x11725 }, { 0x11727, 0x1172B }, { 0x1182F, 0x11837 },
-  { 0x11839, 0x1183A }, { 0x11A01, 0x11A0A }, { 0x11A33, 0x11A38 },
+  { 0x11839, 0x1183A }, { 0x1193B, 0x1193C }, { 0x1193E, 0x1193E },
+  { 0x11943, 0x11943 }, { 0x119D4, 0x119D7 }, { 0x119DA, 0x119DB },
+  { 0x119E0, 0x119E0 }, { 0x11A01, 0x11A0A }, { 0x11A33, 0x11A38 },
   { 0x11A3B, 0x11A3E }, { 0x11A47, 0x11A47 }, { 0x11A51, 0x11A56 },
   { 0x11A59, 0x11A5B }, { 0x11A8A, 0x11A96 }, { 0x11A98, 0x11A99 },
   { 0x11C30, 0x11C36 }, { 0x11C38, 0x11C3D }, { 0x11C3F, 0x11C3F },
@@ -99,13 +102,15 @@ 
   { 0x11CB5, 0x11CB6 }, { 0x11D31, 0x11D36 }, { 0x11D3A, 0x11D3A },
   { 0x11D3C, 0x11D3D }, { 0x11D3F, 0x11D45 }, { 0x11D47, 0x11D47 },
   { 0x11D90, 0x11D91 }, { 0x11D95, 0x11D95 }, { 0x11D97, 0x11D97 },
-  { 0x11EF3, 0x11EF4 }, { 0x16AF0, 0x16AF4 }, { 0x16B30, 0x16B36 },
-  { 0x16F8F, 0x16F92 }, { 0x1BC9D, 0x1BC9E }, { 0x1BCA0, 0x1BCA3 },
+  { 0x11EF3, 0x11EF4 }, { 0x13430, 0x13438 }, { 0x16AF0, 0x16AF4 },
+  { 0x16B30, 0x16B36 }, { 0x16F4F, 0x16F4F }, { 0x16F8F, 0x16F92 },
+  { 0x16FE4, 0x16FE4 }, { 0x1BC9D, 0x1BC9E }, { 0x1BCA0, 0x1BCA3 },
   { 0x1D167, 0x1D169 }, { 0x1D173, 0x1D182 }, { 0x1D185, 0x1D18B },
   { 0x1D1AA, 0x1D1AD }, { 0x1D242, 0x1D244 }, { 0x1DA00, 0x1DA36 },
   { 0x1DA3B, 0x1DA6C }, { 0x1DA75, 0x1DA75 }, { 0x1DA84, 0x1DA84 },
   { 0x1DA9B, 0x1DA9F }, { 0x1DAA1, 0x1DAAF }, { 0x1E000, 0x1E006 },
   { 0x1E008, 0x1E018 }, { 0x1E01B, 0x1E021 }, { 0x1E023, 0x1E024 },
-  { 0x1E026, 0x1E02A }, { 0x1E8D0, 0x1E8D6 }, { 0x1E944, 0x1E94A },
-  { 0xE0001, 0xE0001 }, { 0xE0020, 0xE007F }, { 0xE0100, 0xE01EF }
+  { 0x1E026, 0x1E02A }, { 0x1E130, 0x1E136 }, { 0x1E2EC, 0x1E2EF },
+  { 0x1E8D0, 0x1E8D6 }, { 0x1E944, 0x1E94A }, { 0xE0001, 0xE0001 },
+  { 0xE0020, 0xE007F }, { 0xE0100, 0xE01EF }
 };
diff --git a/newlib/libc/string/wide.t b/newlib/libc/string/wide.t
index d33a5954e..3788353a6 100644
--- a/newlib/libc/string/wide.t
+++ b/newlib/libc/string/wide.t
@@ -1,5 +1,5 @@ 
-//# EastAsianWidth-11.0.0.txt
-//# Blocks-11.0.0.txt
+//# EastAsianWidth-13.0.0.txt
+//# Blocks-13.0.0.txt
 {
   { 0x1100, 0x115F }, { 0x231A, 0x231B }, { 0x2329, 0x232A },
   { 0x23E9, 0x23EC }, { 0x23F0, 0x23F0 }, { 0x23F3, 0x23F3 },
@@ -13,22 +13,21 @@ 
   { 0x2753, 0x2755 }, { 0x2757, 0x2757 }, { 0x2795, 0x2797 },
   { 0x27B0, 0x27B0 }, { 0x27BF, 0x27BF }, { 0x2B1B, 0x2B1C },
   { 0x2B50, 0x2B50 }, { 0x2B55, 0x2B55 }, { 0x2E80, 0x303E },
-  { 0x3040, 0x321E }, { 0x3220, 0x3247 }, { 0x3250, 0x32FE },
-  { 0x3300, 0x4DBF }, { 0x4E00, 0xA4CF }, { 0xA960, 0xA97F },
-  { 0xAC00, 0xD7AF }, { 0xF900, 0xFAFF }, { 0xFE10, 0xFE1F },
-  { 0xFE30, 0xFE6F }, { 0xFF01, 0xFF60 }, { 0xFFE0, 0xFFE6 },
-  { 0x16FE0, 0x18AFF }, { 0x1B000, 0x1B12F }, { 0x1B170, 0x1B2FF },
-  { 0x1F004, 0x1F004 }, { 0x1F0CF, 0x1F0CF }, { 0x1F18E, 0x1F18E },
-  { 0x1F191, 0x1F19A }, { 0x1F200, 0x1F320 }, { 0x1F32D, 0x1F335 },
-  { 0x1F337, 0x1F37C }, { 0x1F37E, 0x1F393 }, { 0x1F3A0, 0x1F3CA },
-  { 0x1F3CF, 0x1F3D3 }, { 0x1F3E0, 0x1F3F0 }, { 0x1F3F4, 0x1F3F4 },
-  { 0x1F3F8, 0x1F43E }, { 0x1F440, 0x1F440 }, { 0x1F442, 0x1F4FC },
-  { 0x1F4FF, 0x1F53D }, { 0x1F54B, 0x1F54E }, { 0x1F550, 0x1F567 },
-  { 0x1F57A, 0x1F57A }, { 0x1F595, 0x1F596 }, { 0x1F5A4, 0x1F5A4 },
-  { 0x1F5FB, 0x1F64F }, { 0x1F680, 0x1F6C5 }, { 0x1F6CC, 0x1F6CC },
-  { 0x1F6D0, 0x1F6D2 }, { 0x1F6EB, 0x1F6EC }, { 0x1F6F4, 0x1F6F9 },
-  { 0x1F910, 0x1F93E }, { 0x1F940, 0x1F970 }, { 0x1F973, 0x1F976 },
-  { 0x1F97A, 0x1F97A }, { 0x1F97C, 0x1F9A2 }, { 0x1F9B0, 0x1F9B9 },
-  { 0x1F9C0, 0x1F9C2 }, { 0x1F9D0, 0x1F9FF }, { 0x20000, 0x2FFFD },
-  { 0x30000, 0x3FFFD }
+  { 0x3040, 0x321E }, { 0x3220, 0x3247 }, { 0x3250, 0x4DBF },
+  { 0x4E00, 0xA4CF }, { 0xA960, 0xA97F }, { 0xAC00, 0xD7AF },
+  { 0xF900, 0xFAFF }, { 0xFE10, 0xFE1F }, { 0xFE30, 0xFE6F },
+  { 0xFF01, 0xFF60 }, { 0xFFE0, 0xFFE6 }, { 0x16FE0, 0x18D8F },
+  { 0x1B000, 0x1B2FF }, { 0x1F004, 0x1F004 }, { 0x1F0CF, 0x1F0CF },
+  { 0x1F18E, 0x1F18E }, { 0x1F191, 0x1F19A }, { 0x1F200, 0x1F320 },
+  { 0x1F32D, 0x1F335 }, { 0x1F337, 0x1F37C }, { 0x1F37E, 0x1F393 },
+  { 0x1F3A0, 0x1F3CA }, { 0x1F3CF, 0x1F3D3 }, { 0x1F3E0, 0x1F3F0 },
+  { 0x1F3F4, 0x1F3F4 }, { 0x1F3F8, 0x1F43E }, { 0x1F440, 0x1F440 },
+  { 0x1F442, 0x1F4FC }, { 0x1F4FF, 0x1F53D }, { 0x1F54B, 0x1F54E },
+  { 0x1F550, 0x1F567 }, { 0x1F57A, 0x1F57A }, { 0x1F595, 0x1F596 },
+  { 0x1F5A4, 0x1F5A4 }, { 0x1F5FB, 0x1F64F }, { 0x1F680, 0x1F6C5 },
+  { 0x1F6CC, 0x1F6CC }, { 0x1F6D0, 0x1F6D2 }, { 0x1F6D5, 0x1F6D7 },
+  { 0x1F6EB, 0x1F6EC }, { 0x1F6F4, 0x1F6FC }, { 0x1F7E0, 0x1F7EB },
+  { 0x1F90C, 0x1F93A }, { 0x1F93C, 0x1F945 }, { 0x1F947, 0x1F978 },
+  { 0x1F97A, 0x1F9CB }, { 0x1F9CD, 0x1F9FF }, { 0x1FA70, 0x1FAFF },
+  { 0x20000, 0x2FFFD }, { 0x30000, 0x3FFFD }
 };