mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
glib: Update Unicode Character Database to version 13.0.0
Using commands: ``` glib/gen-unicode-tables.pl -both 13.0.0 path/to/UCD tests/gen-casefold-txt.py 13.0.0 path/to/UCD/CaseFolding.txt \ > tests/casefold.txt tests/gen-casemap-txt.py 13.0.0 path/to/UCD/UnicodeData.txt \ path/to/UCD/SpecialCasing.txt > tests/casemap.txt ``` Using UCD release https://www.unicode.org/Public/zipped/13.0.0/UCD.zip With some manual additions to `GUnicodeScript` for the 4 new scripts added in 13.0, using the first assigned character in each block in `glib/tests/unicode.c`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
bba5576fb2
commit
a19e554517
@ -480,7 +480,7 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ARMENIAN,
|
||||
G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HEBREW,
|
||||
@ -754,10 +754,10 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
|
||||
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
@ -975,7 +975,7 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
|
||||
G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
|
||||
@ -1118,7 +1118,7 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
@ -1160,7 +1160,7 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_SINHALA,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SINHALA,
|
||||
G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_SINHALA,
|
||||
G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SINHALA,
|
||||
G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SINHALA,
|
||||
@ -2290,7 +2290,7 @@ static const guchar g_script_easy_table[8192] = {
|
||||
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
|
||||
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
|
||||
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
|
||||
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
|
||||
@ -2774,7 +2774,7 @@ static const struct {
|
||||
{ 0x2800, 256, G_UNICODE_SCRIPT_BRAILLE },
|
||||
{ 0x2900, 628, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2b76, 32, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2b98, 104, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2b97, 105, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2c00, 47, G_UNICODE_SCRIPT_GLAGOLITIC },
|
||||
{ 0x2c30, 47, G_UNICODE_SCRIPT_GLAGOLITIC },
|
||||
{ 0x2c60, 32, G_UNICODE_SCRIPT_LATIN },
|
||||
@ -2796,7 +2796,7 @@ static const struct {
|
||||
{ 0x2dd0, 7, G_UNICODE_SCRIPT_ETHIOPIC },
|
||||
{ 0x2dd8, 7, G_UNICODE_SCRIPT_ETHIOPIC },
|
||||
{ 0x2de0, 32, G_UNICODE_SCRIPT_CYRILLIC },
|
||||
{ 0x2e00, 80, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2e00, 83, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x2e80, 26, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2e9b, 89, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2f00, 214, G_UNICODE_SCRIPT_HAN },
|
||||
@ -2823,7 +2823,7 @@ static const struct {
|
||||
{ 0x3105, 43, G_UNICODE_SCRIPT_BOPOMOFO },
|
||||
{ 0x3131, 94, G_UNICODE_SCRIPT_HANGUL },
|
||||
{ 0x3190, 16, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x31a0, 27, G_UNICODE_SCRIPT_BOPOMOFO },
|
||||
{ 0x31a0, 32, G_UNICODE_SCRIPT_BOPOMOFO },
|
||||
{ 0x31c0, 36, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x31f0, 16, G_UNICODE_SCRIPT_KATAKANA },
|
||||
{ 0x3200, 31, G_UNICODE_SCRIPT_HANGUL },
|
||||
@ -2834,9 +2834,9 @@ static const struct {
|
||||
{ 0x32ff, 1, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x3300, 88, G_UNICODE_SCRIPT_KATAKANA },
|
||||
{ 0x3358, 168, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x3400, 6582, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x3400, 6592, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x4dc0, 64, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x4e00, 20976, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x4e00, 20989, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0xa000, 1165, G_UNICODE_SCRIPT_YI },
|
||||
{ 0xa490, 55, G_UNICODE_SCRIPT_YI },
|
||||
{ 0xa4d0, 48, G_UNICODE_SCRIPT_LISU },
|
||||
@ -2847,9 +2847,9 @@ static const struct {
|
||||
{ 0xa722, 102, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa788, 3, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xa78b, 53, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa7c2, 5, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa7f7, 9, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa800, 44, G_UNICODE_SCRIPT_SYLOTI_NAGRI },
|
||||
{ 0xa7c2, 9, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa7f5, 11, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xa800, 45, G_UNICODE_SCRIPT_SYLOTI_NAGRI },
|
||||
{ 0xa830, 10, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xa840, 56, G_UNICODE_SCRIPT_PHAGS_PA },
|
||||
{ 0xa880, 70, G_UNICODE_SCRIPT_SAURASHTRA },
|
||||
@ -2883,7 +2883,8 @@ static const struct {
|
||||
{ 0xab5b, 1, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xab5c, 9, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xab65, 1, G_UNICODE_SCRIPT_GREEK },
|
||||
{ 0xab66, 2, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xab66, 4, G_UNICODE_SCRIPT_LATIN },
|
||||
{ 0xab6a, 2, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xab70, 80, G_UNICODE_SCRIPT_CHEROKEE },
|
||||
{ 0xabc0, 46, G_UNICODE_SCRIPT_MEETEI_MAYEK },
|
||||
{ 0xabf0, 10, G_UNICODE_SCRIPT_MEETEI_MAYEK },
|
||||
@ -2944,7 +2945,7 @@ static const struct {
|
||||
{ 0x10107, 45, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x10137, 9, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x10140, 79, G_UNICODE_SCRIPT_GREEK },
|
||||
{ 0x10190, 12, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x10190, 13, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x101a0, 1, G_UNICODE_SCRIPT_GREEK },
|
||||
{ 0x101d0, 45, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x101fd, 1, G_UNICODE_SCRIPT_INHERITED },
|
||||
@ -3022,8 +3023,12 @@ static const struct {
|
||||
{ 0x10d00, 40, G_UNICODE_SCRIPT_HANIFI_ROHINGYA },
|
||||
{ 0x10d30, 10, G_UNICODE_SCRIPT_HANIFI_ROHINGYA },
|
||||
{ 0x10e60, 31, G_UNICODE_SCRIPT_ARABIC },
|
||||
{ 0x10e80, 42, G_UNICODE_SCRIPT_YEZIDI },
|
||||
{ 0x10eab, 3, G_UNICODE_SCRIPT_YEZIDI },
|
||||
{ 0x10eb0, 2, G_UNICODE_SCRIPT_YEZIDI },
|
||||
{ 0x10f00, 40, G_UNICODE_SCRIPT_OLD_SOGDIAN },
|
||||
{ 0x10f30, 42, G_UNICODE_SCRIPT_SOGDIAN },
|
||||
{ 0x10fb0, 28, G_UNICODE_SCRIPT_CHORASMIAN },
|
||||
{ 0x10fe0, 23, G_UNICODE_SCRIPT_ELYMAIC },
|
||||
{ 0x11000, 78, G_UNICODE_SCRIPT_BRAHMI },
|
||||
{ 0x11052, 30, G_UNICODE_SCRIPT_BRAHMI },
|
||||
@ -3033,10 +3038,9 @@ static const struct {
|
||||
{ 0x110d0, 25, G_UNICODE_SCRIPT_SORA_SOMPENG },
|
||||
{ 0x110f0, 10, G_UNICODE_SCRIPT_SORA_SOMPENG },
|
||||
{ 0x11100, 53, G_UNICODE_SCRIPT_CHAKMA },
|
||||
{ 0x11136, 17, G_UNICODE_SCRIPT_CHAKMA },
|
||||
{ 0x11136, 18, G_UNICODE_SCRIPT_CHAKMA },
|
||||
{ 0x11150, 39, G_UNICODE_SCRIPT_MAHAJANI },
|
||||
{ 0x11180, 78, G_UNICODE_SCRIPT_SHARADA },
|
||||
{ 0x111d0, 16, G_UNICODE_SCRIPT_SHARADA },
|
||||
{ 0x11180, 96, G_UNICODE_SCRIPT_SHARADA },
|
||||
{ 0x111e1, 20, G_UNICODE_SCRIPT_SINHALA },
|
||||
{ 0x11200, 18, G_UNICODE_SCRIPT_KHOJKI },
|
||||
{ 0x11213, 44, G_UNICODE_SCRIPT_KHOJKI },
|
||||
@ -3063,9 +3067,8 @@ static const struct {
|
||||
{ 0x1135d, 7, G_UNICODE_SCRIPT_GRANTHA },
|
||||
{ 0x11366, 7, G_UNICODE_SCRIPT_GRANTHA },
|
||||
{ 0x11370, 5, G_UNICODE_SCRIPT_GRANTHA },
|
||||
{ 0x11400, 90, G_UNICODE_SCRIPT_NEWA },
|
||||
{ 0x1145b, 1, G_UNICODE_SCRIPT_NEWA },
|
||||
{ 0x1145d, 3, G_UNICODE_SCRIPT_NEWA },
|
||||
{ 0x11400, 92, G_UNICODE_SCRIPT_NEWA },
|
||||
{ 0x1145d, 5, G_UNICODE_SCRIPT_NEWA },
|
||||
{ 0x11480, 72, G_UNICODE_SCRIPT_TIRHUTA },
|
||||
{ 0x114d0, 10, G_UNICODE_SCRIPT_TIRHUTA },
|
||||
{ 0x11580, 54, G_UNICODE_SCRIPT_SIDDHAM },
|
||||
@ -3081,6 +3084,14 @@ static const struct {
|
||||
{ 0x11800, 60, G_UNICODE_SCRIPT_DOGRA },
|
||||
{ 0x118a0, 83, G_UNICODE_SCRIPT_WARANG_CITI },
|
||||
{ 0x118ff, 1, G_UNICODE_SCRIPT_WARANG_CITI },
|
||||
{ 0x11900, 7, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x11909, 1, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x1190c, 8, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x11915, 2, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x11918, 30, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x11937, 2, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x1193b, 12, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x11950, 10, G_UNICODE_SCRIPT_DIVES_AKURU },
|
||||
{ 0x119a0, 8, G_UNICODE_SCRIPT_NANDINAGARI },
|
||||
{ 0x119aa, 46, G_UNICODE_SCRIPT_NANDINAGARI },
|
||||
{ 0x119da, 11, G_UNICODE_SCRIPT_NANDINAGARI },
|
||||
@ -3108,6 +3119,7 @@ static const struct {
|
||||
{ 0x11d93, 6, G_UNICODE_SCRIPT_GUNJALA_GONDI },
|
||||
{ 0x11da0, 10, G_UNICODE_SCRIPT_GUNJALA_GONDI },
|
||||
{ 0x11ee0, 25, G_UNICODE_SCRIPT_MAKASAR },
|
||||
{ 0x11fb0, 1, G_UNICODE_SCRIPT_LISU },
|
||||
{ 0x11fc0, 50, G_UNICODE_SCRIPT_TAMIL },
|
||||
{ 0x11fff, 1, G_UNICODE_SCRIPT_TAMIL },
|
||||
{ 0x12000, 922, G_UNICODE_SCRIPT_CUNEIFORM },
|
||||
@ -3135,8 +3147,12 @@ static const struct {
|
||||
{ 0x16fe0, 1, G_UNICODE_SCRIPT_TANGUT },
|
||||
{ 0x16fe1, 1, G_UNICODE_SCRIPT_NUSHU },
|
||||
{ 0x16fe2, 2, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x16fe4, 1, G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT },
|
||||
{ 0x16ff0, 2, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x17000, 6136, G_UNICODE_SCRIPT_TANGUT },
|
||||
{ 0x18800, 755, G_UNICODE_SCRIPT_TANGUT },
|
||||
{ 0x18800, 768, G_UNICODE_SCRIPT_TANGUT },
|
||||
{ 0x18b00, 470, G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT },
|
||||
{ 0x18d00, 9, G_UNICODE_SCRIPT_TANGUT },
|
||||
{ 0x1b000, 1, G_UNICODE_SCRIPT_KATAKANA },
|
||||
{ 0x1b001, 286, G_UNICODE_SCRIPT_HIRAGANA },
|
||||
{ 0x1b150, 3, G_UNICODE_SCRIPT_HIRAGANA },
|
||||
@ -3245,9 +3261,7 @@ static const struct {
|
||||
{ 0x1f0b1, 15, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f0c1, 15, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f0d1, 37, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f100, 13, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f110, 93, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f170, 61, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f100, 174, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f1e6, 26, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f200, 1, G_UNICODE_SCRIPT_HIRAGANA },
|
||||
{ 0x1f201, 2, G_UNICODE_SCRIPT_COMMON },
|
||||
@ -3255,9 +3269,9 @@ static const struct {
|
||||
{ 0x1f240, 9, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f250, 2, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f260, 6, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f300, 982, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f300, 984, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f6e0, 13, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f6f0, 11, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f6f0, 13, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f700, 116, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f780, 89, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f7e0, 12, G_UNICODE_SCRIPT_COMMON },
|
||||
@ -3266,24 +3280,28 @@ static const struct {
|
||||
{ 0x1f850, 10, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f860, 40, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f890, 30, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f900, 12, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f90d, 101, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f973, 4, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f97a, 41, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f9a5, 6, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f9ae, 29, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f8b0, 2, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f900, 121, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f97a, 82, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1f9cd, 135, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa60, 14, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa70, 4, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa70, 5, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa78, 3, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa80, 3, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa90, 6, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x20000, 42711, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x1fa80, 7, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fa90, 25, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fab0, 7, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fac0, 3, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fad0, 7, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fb00, 147, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fb94, 55, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x1fbf0, 10, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0x20000, 42718, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2a700, 4149, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2b740, 222, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2b820, 5762, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2ceb0, 7473, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x2f800, 542, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0x30000, 4939, G_UNICODE_SCRIPT_HAN },
|
||||
{ 0xe0001, 1, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xe0020, 96, G_UNICODE_SCRIPT_COMMON },
|
||||
{ 0xe0100, 240, G_UNICODE_SCRIPT_INHERITED },
|
||||
|
997
glib/gunibreak.h
997
glib/gunibreak.h
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -424,6 +424,10 @@ typedef enum
|
||||
* @G_UNICODE_SCRIPT_NANDINAGARI: Nand. Since: 2.62
|
||||
* @G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG: Rohg. Since: 2.62
|
||||
* @G_UNICODE_SCRIPT_WANCHO: Wcho. Since: 2.62
|
||||
* @G_UNICODE_SCRIPT_CHORASMIAN: Chorasmian. Since: 2.66
|
||||
* @G_UNICODE_SCRIPT_DIVES_AKURU: Dives Akuru. Since: 2.66
|
||||
* @G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT: Khitan small script. Since: 2.66
|
||||
* @G_UNICODE_SCRIPT_YEZIDI: Yezidi. Since: 2.66
|
||||
*
|
||||
* The #GUnicodeScript enumeration identifies different writing
|
||||
* systems. The values correspond to the names as defined in the
|
||||
@ -615,7 +619,13 @@ typedef enum
|
||||
G_UNICODE_SCRIPT_ELYMAIC, /* Elym */
|
||||
G_UNICODE_SCRIPT_NANDINAGARI, /* Nand */
|
||||
G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG, /* Rohg */
|
||||
G_UNICODE_SCRIPT_WANCHO /* Wcho */
|
||||
G_UNICODE_SCRIPT_WANCHO, /* Wcho */
|
||||
|
||||
/* Unicode 13.0 additions */
|
||||
G_UNICODE_SCRIPT_CHORASMIAN, /* Chrs */
|
||||
G_UNICODE_SCRIPT_DIVES_AKURU, /* Diak */
|
||||
G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT, /* Kits */
|
||||
G_UNICODE_SCRIPT_YEZIDI /* Yezi */
|
||||
} GUnicodeScript;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
|
@ -1,9 +1,9 @@
|
||||
#define COMPOSE_FIRST_START 1
|
||||
#define COMPOSE_FIRST_SINGLE_START 149
|
||||
#define COMPOSE_SECOND_START 377
|
||||
#define COMPOSE_SECOND_SINGLE_START 408
|
||||
#define COMPOSE_SECOND_START 378
|
||||
#define COMPOSE_SECOND_SINGLE_START 409
|
||||
|
||||
#define COMPOSE_TABLE_LAST 277
|
||||
#define COMPOSE_TABLE_LAST 281
|
||||
|
||||
static const guint16 compose_data[][256] = {
|
||||
{ /* page 0, index 0 */
|
||||
@ -48,10 +48,10 @@ static const guint16 compose_data[][256] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
},
|
||||
{ /* page 3, index 3 */
|
||||
377, 378, 379, 380, 381, 0, 382, 383, 384, 385, 386, 387, 388, 0, 0, 389,
|
||||
0, 390, 0, 391, 392, 0, 0, 0, 0, 0, 0, 393, 0, 0, 0, 0, 0, 0, 0, 394,
|
||||
395, 396, 397, 398, 399, 0, 0, 0, 0, 400, 401, 0, 402, 403, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 404, 0, 0, 405, 0, 0, 0, 0, 0, 0, 0,
|
||||
378, 379, 380, 381, 382, 0, 383, 384, 385, 386, 387, 388, 389, 0, 0, 390,
|
||||
0, 391, 0, 392, 393, 0, 0, 0, 0, 0, 0, 394, 0, 0, 0, 0, 0, 0, 0, 395,
|
||||
396, 397, 398, 399, 400, 0, 0, 0, 0, 401, 402, 0, 403, 404, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 405, 0, 0, 406, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0,
|
||||
@ -79,7 +79,7 @@ static const guint16 compose_data[][256] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 99, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
212, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 408, 409, 410, 0, 0, 0, 0, 0, 0, 0,
|
||||
212, 0, 213, 0, 0, 0, 0, 0, 0, 0, 0, 409, 410, 411, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@ -96,22 +96,22 @@ static const guint16 compose_data[][256] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 424, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 105, 0, 0, 226, 0, 0, 425, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 424, 0, 0, 0, 0, 425, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 105, 0, 0, 226, 0, 0, 426, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
},
|
||||
{ /* page 16, index 10 */
|
||||
@ -228,7 +228,7 @@ static const guint16 compose_data[][256] = {
|
||||
0, 0, 0, 333, 0, 334, 0, 335, 0, 336, 0, 337, 0, 338, 0, 339, 0, 340, 0,
|
||||
341, 0, 342, 0, 343, 0, 344, 0, 0, 345, 0, 346, 0, 347, 0, 0, 0, 0, 0, 0,
|
||||
137, 0, 0, 138, 0, 0, 139, 0, 0, 140, 0, 0, 141, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 406, 407,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 407, 408,
|
||||
0, 0, 348, 0, 0, 0, 0, 0, 0, 0, 0, 349, 0, 0, 0, 0, 350, 0, 351, 0, 352,
|
||||
0, 353, 0, 354, 0, 355, 0, 356, 0, 357, 0, 358, 0, 359, 0, 360, 0, 361,
|
||||
0, 0, 362, 0, 363, 0, 364, 0, 0, 0, 0, 0, 0, 142, 0, 0, 143, 0, 0, 144,
|
||||
@ -264,8 +264,8 @@ static const guint16 compose_data[][256] = {
|
||||
{ /* page 275, index 19 */
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 426, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 427, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 427, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 428, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@ -282,7 +282,7 @@ static const guint16 compose_data[][256] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
}
|
||||
};
|
||||
|
||||
@ -580,7 +593,11 @@ static const gint16 compose_table[COMPOSE_TABLE_LAST + 1] = {
|
||||
0 + G_UNICODE_MAX_TABLE_INDEX,
|
||||
19 /* page 275 */,
|
||||
20 /* page 276 */,
|
||||
21 /* page 277 */
|
||||
21 /* page 277 */,
|
||||
0 + G_UNICODE_MAX_TABLE_INDEX,
|
||||
0 + G_UNICODE_MAX_TABLE_INDEX,
|
||||
0 + G_UNICODE_MAX_TABLE_INDEX,
|
||||
22 /* page 281 */
|
||||
};
|
||||
|
||||
static const gunichar compose_first_single[][2] = {
|
||||
@ -811,7 +828,8 @@ static const gunichar compose_first_single[][2] = {
|
||||
{ 0x11127, 0x1112e },
|
||||
{ 0x11127, 0x1112f },
|
||||
{ 0x115af, 0x115ba },
|
||||
{ 0x115af, 0x115bb }
|
||||
{ 0x115af, 0x115bb },
|
||||
{ 0x11930, 0x11938 }
|
||||
};
|
||||
static const gunichar compose_second_single[][2] = {
|
||||
{ 0x0627, 0x0622 },
|
||||
|
7744
glib/gunidecomp.h
7744
glib/gunidecomp.h
File diff suppressed because it is too large
Load Diff
@ -1476,6 +1476,12 @@ static const guint32 iso15924_tags[] =
|
||||
PACK ('N','a','n','d'), /* G_UNICODE_SCRIPT_NANDINAGARI */
|
||||
PACK ('H','m','n','p'), /* G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG */
|
||||
PACK ('W','c','h','o'), /* G_UNICODE_SCRIPT_WANCHO */
|
||||
|
||||
/* Unicode 13.0 additions */
|
||||
PACK ('C', 'h', 'r', 's'), /* G_UNICODE_SCRIPT_CHORASMIAN */
|
||||
PACK ('D', 'i', 'a', 'k'), /* G_UNICODE_SCRIPT_DIVES_AKURU */
|
||||
PACK ('K', 'i', 't', 's'), /* G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT */
|
||||
PACK ('Y', 'e', 'z', 'i'), /* G_UNICODE_SCRIPT_YEZIDI */
|
||||
#undef PACK
|
||||
};
|
||||
|
||||
|
@ -331,6 +331,10 @@ test_unichar_script (void)
|
||||
{ G_UNICODE_SCRIPT_NANDINAGARI, 0x119A0 },
|
||||
{ G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG, 0x1E100 },
|
||||
{ G_UNICODE_SCRIPT_WANCHO, 0x1E2C0 },
|
||||
{ G_UNICODE_SCRIPT_CHORASMIAN, 0x10FB0 },
|
||||
{ G_UNICODE_SCRIPT_DIVES_AKURU, 0x11900 },
|
||||
{ G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT, 0x18B00 },
|
||||
{ G_UNICODE_SCRIPT_YEZIDI, 0x10E80 },
|
||||
};
|
||||
for (i = 0; i < G_N_ELEMENTS (examples); i++)
|
||||
g_assert_cmpint (g_unichar_get_script (examples[i].c), ==, examples[i].script);
|
||||
@ -1567,6 +1571,12 @@ test_iso15924 (void)
|
||||
{ G_UNICODE_SCRIPT_NANDINAGARI, "Nand" },
|
||||
{ G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG, "Hmnp" },
|
||||
{ G_UNICODE_SCRIPT_WANCHO, "Wcho" },
|
||||
|
||||
/* Unicode 13.0 additions */
|
||||
{ G_UNICODE_SCRIPT_CHORASMIAN, "Chrs" },
|
||||
{ G_UNICODE_SCRIPT_DIVES_AKURU, "Diak" },
|
||||
{ G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT, "Kits" },
|
||||
{ G_UNICODE_SCRIPT_YEZIDI, "Yezi" },
|
||||
};
|
||||
guint i;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Test cases generated from Unicode 12.1.0 data
|
||||
# Test cases generated from Unicode 13.0.0 data
|
||||
# by gen-casefold-txt.py. Do not edit.
|
||||
#
|
||||
# Some special hand crafted tests
|
||||
@ -1151,6 +1151,9 @@ Z z
|
||||
Ꞔ ꞔ
|
||||
Ʂ ʂ
|
||||
Ᶎ ᶎ
|
||||
Ꟈ ꟈ
|
||||
Ꟊ ꟊ
|
||||
Ꟶ ꟶ
|
||||
ꭰ Ꭰ
|
||||
ꭱ Ꭱ
|
||||
ꭲ Ꭲ
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Test cases generated from Unicode 12.1.0 data
|
||||
# Test cases generated from Unicode 13.0.0 data
|
||||
# by gen-casemap-txt.py. Do not edit.
|
||||
#
|
||||
# Some special hand crafted tests
|
||||
@ -2432,6 +2432,12 @@ lt_LT.UTF-8 Į́ į̇́ Į́ Į́ # LATIN CAPITAL LETTER I WITH OGONEK (with ac
|
||||
Ꞔ ꞔ Ꞔ # A7C4
|
||||
Ʂ ʂ Ʂ # A7C5
|
||||
Ᶎ ᶎ Ᶎ # A7C6
|
||||
Ꟈ ꟈ Ꟈ # A7C7
|
||||
ꟈ ꟈ Ꟈ Ꟈ # A7C8
|
||||
Ꟊ ꟊ Ꟊ # A7C9
|
||||
ꟊ ꟊ Ꟊ Ꟊ # A7CA
|
||||
Ꟶ ꟶ Ꟶ # A7F5
|
||||
ꟶ ꟶ Ꟶ Ꟶ # A7F6
|
||||
ꟺ ꟺ # A7FA
|
||||
ꬰ ꬰ # AB30
|
||||
ꬱ ꬱ # AB31
|
||||
@ -2484,6 +2490,7 @@ lt_LT.UTF-8 Į́ į̇́ Į́ Į́ # LATIN CAPITAL LETTER I WITH OGONEK (with ac
|
||||
ꭥ ꭥ # AB65
|
||||
ꭦ ꭦ # AB66
|
||||
ꭧ ꭧ # AB67
|
||||
ꭨ ꭨ # AB68
|
||||
ꭰ ꭰ Ꭰ Ꭰ # AB70
|
||||
ꭱ ꭱ Ꭱ Ꭱ # AB71
|
||||
ꭲ ꭲ Ꭲ Ꭲ # AB72
|
||||
|
Loading…
Reference in New Issue
Block a user