Skip to content

Commit 3c5341b

Browse files
committed
Update to version 12 of the Unicode tables
1 parent a9f6fbb commit 3c5341b

File tree

4 files changed

+39
-22
lines changed

4 files changed

+39
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
6+
### Changed
7+
- Updates to version 13 of the Unicode tables.
68

79
## [0.4] - 2020-01-14
810
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@ With them, it generates the following files:
140140
The most current version of `wcwidth` uses the following versions of the above
141141
Unicode Standard release files:
142142

143-
* `EastAsianWidth-12.1.0.txt, Date: 2019-03-31, 22:01:58 GMT [KW, LI], © 2019 Unicode®, Inc.`
144-
* `DerivedGeneralCategory-12.1.0.txt, Date: 2019-03-10, 10:53:08 GMT, © 2019 Unicode®, Inc.`
143+
* `EastAsianWidth-13.0.0.txt, Date: 2029-01-21, 18:14:00 GMT [KW, LI], © 2020 Unicode®, Inc.`
144+
* `DerivedGeneralCategory-13.0.0.txt, Date: 2019-10-21, 14:30:32 GMT, © 2019 Unicode®, Inc.`
145145

wcwidth/widetab.lua

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ return {
9595
0x00003190,0x00003191,
9696
0x00003192,0x00003195,
9797
0x00003196,0x0000319F,
98-
0x000031A0,0x000031BA,
98+
0x000031A0,0x000031BF,
9999
0x000031C0,0x000031E3,
100100
0x000031F0,0x000031FF,
101101
0x00003200,0x0000321E,
@@ -109,10 +109,9 @@ return {
109109
0x000032B1,0x000032BF,
110110
0x000032C0,0x000032FF,
111111
0x00003300,0x000033FF,
112-
0x00003400,0x00004DB5,
113-
0x00004DB6,0x00004DBF,
114-
0x00004E00,0x00009FEF,
115-
0x00009FF0,0x00009FFF,
112+
0x00003400,0x00004DBF,
113+
0x00004E00,0x00009FFC,
114+
0x00009FFD,0x00009FFF,
116115
0x0000A000,0x0000A014,
117116
0x0000A015,0x0000A015,
118117
0x0000A016,0x0000A48C,
@@ -203,8 +202,12 @@ return {
203202
0x00016FE0,0x00016FE1,
204203
0x00016FE2,0x00016FE2,
205204
0x00016FE3,0x00016FE3,
205+
0x00016FE4,0x00016FE4,
206+
0x00016FF0,0x00016FF1,
206207
0x00017000,0x000187F7,
207-
0x00018800,0x00018AF2,
208+
0x00018800,0x00018AFF,
209+
0x00018B00,0x00018CD5,
210+
0x00018D00,0x00018D08,
208211
0x0001B000,0x0001B0FF,
209212
0x0001B100,0x0001B11E,
210213
0x0001B150,0x0001B152,
@@ -243,22 +246,24 @@ return {
243246
0x0001F680,0x0001F6C5,
244247
0x0001F6CC,0x0001F6CC,
245248
0x0001F6D0,0x0001F6D2,
246-
0x0001F6D5,0x0001F6D5,
249+
0x0001F6D5,0x0001F6D7,
247250
0x0001F6EB,0x0001F6EC,
248-
0x0001F6F4,0x0001F6FA,
251+
0x0001F6F4,0x0001F6FC,
249252
0x0001F7E0,0x0001F7EB,
250-
0x0001F90D,0x0001F971,
251-
0x0001F973,0x0001F976,
252-
0x0001F97A,0x0001F9A2,
253-
0x0001F9A5,0x0001F9AA,
254-
0x0001F9AE,0x0001F9CA,
253+
0x0001F90C,0x0001F93A,
254+
0x0001F93C,0x0001F945,
255+
0x0001F947,0x0001F978,
256+
0x0001F97A,0x0001F9CB,
255257
0x0001F9CD,0x0001F9FF,
256-
0x0001FA70,0x0001FA73,
258+
0x0001FA70,0x0001FA74,
257259
0x0001FA78,0x0001FA7A,
258-
0x0001FA80,0x0001FA82,
259-
0x0001FA90,0x0001FA95,
260-
0x00020000,0x0002A6D6,
261-
0x0002A6D7,0x0002A6FF,
260+
0x0001FA80,0x0001FA86,
261+
0x0001FA90,0x0001FAA8,
262+
0x0001FAB0,0x0001FAB6,
263+
0x0001FAC0,0x0001FAC2,
264+
0x0001FAD0,0x0001FAD6,
265+
0x00020000,0x0002A6DD,
266+
0x0002A6DE,0x0002A6FF,
262267
0x0002A700,0x0002B734,
263268
0x0002B735,0x0002B73F,
264269
0x0002B740,0x0002B81D,
@@ -270,5 +275,6 @@ return {
270275
0x0002F800,0x0002FA1D,
271276
0x0002FA1E,0x0002FA1F,
272277
0x0002FA20,0x0002FFFD,
273-
0x00030000,0x0003FFFD,
278+
0x00030000,0x0003134A,
279+
0x0003134B,0x0003FFFD,
274280
}

wcwidth/zerotab.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ return {
5959
0x00000B3F,0x00000B3F,
6060
0x00000B41,0x00000B44,
6161
0x00000B4D,0x00000B4D,
62-
0x00000B56,0x00000B56,
62+
0x00000B55,0x00000B56,
6363
0x00000B62,0x00000B63,
6464
0x00000B82,0x00000B82,
6565
0x00000BC0,0x00000BC0,
@@ -82,6 +82,7 @@ return {
8282
0x00000D41,0x00000D44,
8383
0x00000D4D,0x00000D4D,
8484
0x00000D62,0x00000D63,
85+
0x00000D81,0x00000D81,
8586
0x00000DCA,0x00000DCA,
8687
0x00000DD2,0x00000DD4,
8788
0x00000DD6,0x00000DD6,
@@ -140,6 +141,7 @@ return {
140141
0x00001A7F,0x00001A7F,
141142
0x00001AB0,0x00001ABD,
142143
0x00001ABE,0x00001ABE,
144+
0x00001ABF,0x00001AC0,
143145
0x00001B00,0x00001B03,
144146
0x00001B34,0x00001B34,
145147
0x00001B36,0x00001B3A,
@@ -183,6 +185,7 @@ return {
183185
0x0000A806,0x0000A806,
184186
0x0000A80B,0x0000A80B,
185187
0x0000A825,0x0000A826,
188+
0x0000A82C,0x0000A82C,
186189
0x0000A8C4,0x0000A8C5,
187190
0x0000A8E0,0x0000A8F1,
188191
0x0000A8FF,0x0000A8FF,
@@ -222,6 +225,7 @@ return {
222225
0x00010A3F,0x00010A3F,
223226
0x00010AE5,0x00010AE6,
224227
0x00010D24,0x00010D27,
228+
0x00010EAB,0x00010EAC,
225229
0x00010F46,0x00010F50,
226230
0x00011001,0x00011001,
227231
0x00011038,0x00011046,
@@ -235,6 +239,7 @@ return {
235239
0x00011180,0x00011181,
236240
0x000111B6,0x000111BE,
237241
0x000111C9,0x000111CC,
242+
0x000111CF,0x000111CF,
238243
0x0001122F,0x00011231,
239244
0x00011234,0x00011234,
240245
0x00011236,0x00011237,
@@ -270,6 +275,9 @@ return {
270275
0x00011727,0x0001172B,
271276
0x0001182F,0x00011837,
272277
0x00011839,0x0001183A,
278+
0x0001193B,0x0001193C,
279+
0x0001193E,0x0001193E,
280+
0x00011943,0x00011943,
273281
0x000119D4,0x000119D7,
274282
0x000119DA,0x000119DB,
275283
0x000119E0,0x000119E0,
@@ -301,6 +309,7 @@ return {
301309
0x00016B30,0x00016B36,
302310
0x00016F4F,0x00016F4F,
303311
0x00016F8F,0x00016F92,
312+
0x00016FE4,0x00016FE4,
304313
0x0001BC9D,0x0001BC9E,
305314
0x0001D167,0x0001D169,
306315
0x0001D17B,0x0001D182,

0 commit comments

Comments
 (0)