Skip to content

Commit 4fc8500

Browse files
committed
patch 8.1.0182: Unicode standard was updated
Problem: Unicode standard was updated. Solution: Include the changes. (Christian Brabandt)
1 parent a43ebe9 commit 4fc8500

File tree

2 files changed

+50
-23
lines changed

2 files changed

+50
-23
lines changed

src/mbyte.c

+48-23
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ utf_char2cells(int c)
14621462
{0x3000, 0x303e},
14631463
{0x3041, 0x3096},
14641464
{0x3099, 0x30ff},
1465-
{0x3105, 0x312e},
1465+
{0x3105, 0x312f},
14661466
{0x3131, 0x318e},
14671467
{0x3190, 0x31ba},
14681468
{0x31c0, 0x31e3},
@@ -1482,7 +1482,7 @@ utf_char2cells(int c)
14821482
{0xff01, 0xff60},
14831483
{0xffe0, 0xffe6},
14841484
{0x16fe0, 0x16fe1},
1485-
{0x17000, 0x187ec},
1485+
{0x17000, 0x187f1},
14861486
{0x18800, 0x18af2},
14871487
{0x1b000, 0x1b11e},
14881488
{0x1b170, 0x1b2fb},
@@ -1517,13 +1517,15 @@ utf_char2cells(int c)
15171517
{0x1f6cc, 0x1f6cc},
15181518
{0x1f6d0, 0x1f6d2},
15191519
{0x1f6eb, 0x1f6ec},
1520-
{0x1f6f4, 0x1f6f8},
1520+
{0x1f6f4, 0x1f6f9},
15211521
{0x1f910, 0x1f93e},
1522-
{0x1f940, 0x1f94c},
1523-
{0x1f950, 0x1f96b},
1524-
{0x1f980, 0x1f997},
1525-
{0x1f9c0, 0x1f9c0},
1526-
{0x1f9d0, 0x1f9e6},
1522+
{0x1f940, 0x1f970},
1523+
{0x1f973, 0x1f976},
1524+
{0x1f97a, 0x1f97a},
1525+
{0x1f97c, 0x1f9a2},
1526+
{0x1f9b0, 0x1f9b9},
1527+
{0x1f9c0, 0x1f9c2},
1528+
{0x1f9d0, 0x1f9ff},
15271529
{0x20000, 0x2fffd},
15281530
{0x30000, 0x3fffd}
15291531
};
@@ -2348,12 +2350,13 @@ utf_iscomposing(int c)
23482350
{0x0730, 0x074a},
23492351
{0x07a6, 0x07b0},
23502352
{0x07eb, 0x07f3},
2353+
{0x07fd, 0x07fd},
23512354
{0x0816, 0x0819},
23522355
{0x081b, 0x0823},
23532356
{0x0825, 0x0827},
23542357
{0x0829, 0x082d},
23552358
{0x0859, 0x085b},
2356-
{0x08d4, 0x08e1},
2359+
{0x08d3, 0x08e1},
23572360
{0x08e3, 0x0903},
23582361
{0x093a, 0x093c},
23592362
{0x093e, 0x094f},
@@ -2366,6 +2369,7 @@ utf_iscomposing(int c)
23662369
{0x09cb, 0x09cd},
23672370
{0x09d7, 0x09d7},
23682371
{0x09e2, 0x09e3},
2372+
{0x09fe, 0x09fe},
23692373
{0x0a01, 0x0a03},
23702374
{0x0a3c, 0x0a3c},
23712375
{0x0a3e, 0x0a42},
@@ -2393,7 +2397,7 @@ utf_iscomposing(int c)
23932397
{0x0bc6, 0x0bc8},
23942398
{0x0bca, 0x0bcd},
23952399
{0x0bd7, 0x0bd7},
2396-
{0x0c00, 0x0c03},
2400+
{0x0c00, 0x0c04},
23972401
{0x0c3e, 0x0c44},
23982402
{0x0c46, 0x0c48},
23992403
{0x0c4a, 0x0c4d},
@@ -2493,6 +2497,7 @@ utf_iscomposing(int c)
24932497
{0xa880, 0xa881},
24942498
{0xa8b4, 0xa8c5},
24952499
{0xa8e0, 0xa8f1},
2500+
{0xa8ff, 0xa8ff},
24962501
{0xa926, 0xa92d},
24972502
{0xa947, 0xa953},
24982503
{0xa980, 0xa983},
@@ -2523,21 +2528,24 @@ utf_iscomposing(int c)
25232528
{0x10a38, 0x10a3a},
25242529
{0x10a3f, 0x10a3f},
25252530
{0x10ae5, 0x10ae6},
2531+
{0x10d24, 0x10d27},
2532+
{0x10f46, 0x10f50},
25262533
{0x11000, 0x11002},
25272534
{0x11038, 0x11046},
25282535
{0x1107f, 0x11082},
25292536
{0x110b0, 0x110ba},
25302537
{0x11100, 0x11102},
25312538
{0x11127, 0x11134},
2539+
{0x11145, 0x11146},
25322540
{0x11173, 0x11173},
25332541
{0x11180, 0x11182},
25342542
{0x111b3, 0x111c0},
2535-
{0x111ca, 0x111cc},
2543+
{0x111c9, 0x111cc},
25362544
{0x1122c, 0x11237},
25372545
{0x1123e, 0x1123e},
25382546
{0x112df, 0x112ea},
25392547
{0x11300, 0x11303},
2540-
{0x1133c, 0x1133c},
2548+
{0x1133b, 0x1133c},
25412549
{0x1133e, 0x11344},
25422550
{0x11347, 0x11348},
25432551
{0x1134b, 0x1134d},
@@ -2546,13 +2554,15 @@ utf_iscomposing(int c)
25462554
{0x11366, 0x1136c},
25472555
{0x11370, 0x11374},
25482556
{0x11435, 0x11446},
2557+
{0x1145e, 0x1145e},
25492558
{0x114b0, 0x114c3},
25502559
{0x115af, 0x115b5},
25512560
{0x115b8, 0x115c0},
25522561
{0x115dc, 0x115dd},
25532562
{0x11630, 0x11640},
25542563
{0x116ab, 0x116b7},
25552564
{0x1171d, 0x1172b},
2565+
{0x1182c, 0x1183a},
25562566
{0x11a01, 0x11a0a},
25572567
{0x11a33, 0x11a39},
25582568
{0x11a3b, 0x11a3e},
@@ -2568,6 +2578,10 @@ utf_iscomposing(int c)
25682578
{0x11d3c, 0x11d3d},
25692579
{0x11d3f, 0x11d45},
25702580
{0x11d47, 0x11d47},
2581+
{0x11d8a, 0x11d8e},
2582+
{0x11d90, 0x11d91},
2583+
{0x11d93, 0x11d97},
2584+
{0x11ef3, 0x11ef6},
25712585
{0x16af0, 0x16af4},
25722586
{0x16b30, 0x16b36},
25732587
{0x16f51, 0x16f7e},
@@ -2659,12 +2673,12 @@ static struct interval emoji_all[] =
26592673
{0x2640, 0x2640},
26602674
{0x2642, 0x2642},
26612675
{0x2648, 0x2653},
2662-
{0x2660, 0x2660},
2676+
{0x265f, 0x2660},
26632677
{0x2663, 0x2663},
26642678
{0x2665, 0x2666},
26652679
{0x2668, 0x2668},
26662680
{0x267b, 0x267b},
2667-
{0x267f, 0x267f},
2681+
{0x267e, 0x267f},
26682682
{0x2692, 0x2697},
26692683
{0x2699, 0x2699},
26702684
{0x269b, 0x269c},
@@ -2759,15 +2773,17 @@ static struct interval emoji_all[] =
27592773
{0x1f6e9, 0x1f6e9},
27602774
{0x1f6eb, 0x1f6ec},
27612775
{0x1f6f0, 0x1f6f0},
2762-
{0x1f6f3, 0x1f6f8},
2776+
{0x1f6f3, 0x1f6f9},
27632777
{0x1f910, 0x1f93a},
27642778
{0x1f93c, 0x1f93e},
27652779
{0x1f940, 0x1f945},
2766-
{0x1f947, 0x1f94c},
2767-
{0x1f950, 0x1f96b},
2768-
{0x1f980, 0x1f997},
2769-
{0x1f9c0, 0x1f9c0},
2770-
{0x1f9d0, 0x1f9e6}
2780+
{0x1f947, 0x1f970},
2781+
{0x1f973, 0x1f976},
2782+
{0x1f97a, 0x1f97a},
2783+
{0x1f97c, 0x1f9a2},
2784+
{0x1f9b0, 0x1f9b9},
2785+
{0x1f9c0, 0x1f9c2},
2786+
{0x1f9d0, 0x1f9ff}
27712787
};
27722788

27732789
/*
@@ -3034,6 +3050,8 @@ static convertStruct foldCase[] =
30343050
{0x1c86,0x1c86,-1,-6204},
30353051
{0x1c87,0x1c87,-1,-6180},
30363052
{0x1c88,0x1c88,-1,35267},
3053+
{0x1c90,0x1cba,1,-3008},
3054+
{0x1cbd,0x1cbf,1,-3008},
30373055
{0x1e00,0x1e94,2,1},
30383056
{0x1e9b,0x1e9b,-1,-58},
30393057
{0x1e9e,0x1e9e,-1,-7615},
@@ -3104,13 +3122,14 @@ static convertStruct foldCase[] =
31043122
{0xa7b1,0xa7b1,-1,-42282},
31053123
{0xa7b2,0xa7b2,-1,-42261},
31063124
{0xa7b3,0xa7b3,-1,928},
3107-
{0xa7b4,0xa7b6,2,1},
3125+
{0xa7b4,0xa7b8,2,1},
31083126
{0xab70,0xabbf,1,-38864},
31093127
{0xff21,0xff3a,1,32},
31103128
{0x10400,0x10427,1,40},
31113129
{0x104b0,0x104d3,1,40},
31123130
{0x10c80,0x10cb2,1,64},
31133131
{0x118a0,0x118bf,1,32},
3132+
{0x16e40,0x16e5f,1,32},
31143133
{0x1e900,0x1e921,1,34}
31153134
};
31163135

@@ -3256,6 +3275,8 @@ static convertStruct toLower[] =
32563275
{0x10c7,0x10cd,6,7264},
32573276
{0x13a0,0x13ef,1,38864},
32583277
{0x13f0,0x13f5,1,8},
3278+
{0x1c90,0x1cba,1,-3008},
3279+
{0x1cbd,0x1cbf,1,-3008},
32593280
{0x1e00,0x1e94,2,1},
32603281
{0x1e9e,0x1e9e,-1,-7615},
32613282
{0x1ea0,0x1efe,2,1},
@@ -3324,12 +3345,13 @@ static convertStruct toLower[] =
33243345
{0xa7b1,0xa7b1,-1,-42282},
33253346
{0xa7b2,0xa7b2,-1,-42261},
33263347
{0xa7b3,0xa7b3,-1,928},
3327-
{0xa7b4,0xa7b6,2,1},
3348+
{0xa7b4,0xa7b8,2,1},
33283349
{0xff21,0xff3a,1,32},
33293350
{0x10400,0x10427,1,40},
33303351
{0x104b0,0x104d3,1,40},
33313352
{0x10c80,0x10cb2,1,64},
33323353
{0x118a0,0x118bf,1,32},
3354+
{0x16e40,0x16e5f,1,32},
33333355
{0x1e900,0x1e921,1,34}
33343356
};
33353357

@@ -3443,6 +3465,8 @@ static convertStruct toUpper[] =
34433465
{0x4cf,0x4cf,-1,-15},
34443466
{0x4d1,0x52f,2,-1},
34453467
{0x561,0x586,1,-48},
3468+
{0x10d0,0x10fa,1,3008},
3469+
{0x10fd,0x10ff,1,3008},
34463470
{0x13f8,0x13fd,1,-8},
34473471
{0x1c80,0x1c80,-1,-6254},
34483472
{0x1c81,0x1c81,-1,-6253},
@@ -3505,14 +3529,15 @@ static convertStruct toUpper[] =
35053529
{0xa78c,0xa791,5,-1},
35063530
{0xa793,0xa797,4,-1},
35073531
{0xa799,0xa7a9,2,-1},
3508-
{0xa7b5,0xa7b7,2,-1},
3532+
{0xa7b5,0xa7b9,2,-1},
35093533
{0xab53,0xab53,-1,-928},
35103534
{0xab70,0xabbf,1,-38864},
35113535
{0xff41,0xff5a,1,-32},
35123536
{0x10428,0x1044f,1,-40},
35133537
{0x104d8,0x104fb,1,-40},
35143538
{0x10cc0,0x10cf2,1,-64},
35153539
{0x118c0,0x118df,1,-32},
3540+
{0x16e60,0x16e7f,1,-32},
35163541
{0x1e922,0x1e943,1,-34}
35173542
};
35183543

src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
182,
792794
/**/
793795
181,
794796
/**/

0 commit comments

Comments
 (0)