summaryrefslogtreecommitdiffhomepage
path: root/src/utf8tabs.inc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-09 15:41:18 +0200
committerTyge Løvset <[email protected]>2022-06-09 15:41:18 +0200
commit3ee36759b8567a72a8349c312fc7dbe975de9e02 (patch)
tree131444f3c7a679fb32415aa957b94181980fbf17 /src/utf8tabs.inc
parent7bbc74bb5c0778504f098974ba79de122cee7211 (diff)
downloadSTC-modified-3ee36759b8567a72a8349c312fc7dbe975de9e02.tar.gz
STC-modified-3ee36759b8567a72a8349c312fc7dbe975de9e02.zip
Removed adding circled letters and roman numerics from toupper/tolower
Diffstat (limited to 'src/utf8tabs.inc')
-rw-r--r--src/utf8tabs.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/utf8tabs.inc b/src/utf8tabs.inc
index 28f30978..3ece077e 100644
--- a/src/utf8tabs.inc
+++ b/src/utf8tabs.inc
@@ -1,6 +1,6 @@
#include <stdint.h>
-struct CaseMapping { uint16_t c0, c1, m1; };
+struct CaseMapping { uint16_t c1, c2, m2; };
static struct CaseMapping casemappings[] = {
{0x0041, 0x005A, 0x007A}, // A a (26) LATIN CAPITAL LETTER A
@@ -225,19 +225,19 @@ static struct CaseMapping casemappings[] = {
enum { casefold_len = 192 };
-static uint8_t upcase_ind[164] = {
+static uint8_t upcase_ind[162] = {
0, 2, 3, 4, 192, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 43, 45, 193, 47, 48, 194, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 75, 80, 83, 85, 86, 87, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 195, 196, 109, 110, 111, 113, 114, 115, 116, 117, 118, 119,
- 120, 121, 125, 126, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 142, 143, 144, 145, 146,
- 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
- 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 191,
+ 120, 121, 125, 126, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 142, 144, 146, 147, 148,
+ 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
+ 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
+ 189, 191,
};
-static uint8_t lowcase_ind[186] = {
+static uint8_t lowcase_ind[184] = {
0, 197, 113, 2, 3, 8, 4, 198, 5, 6, 7, 9, 199, 60, 12, 14, 16, 20, 50, 25,
57, 53, 29, 31, 33, 35, 37, 39, 40, 51, 41, 43, 45, 193, 17, 47, 48, 194, 52, 54,
56, 158, 59, 63, 154, 152, 155, 11, 13, 15, 18, 19, 174, 21, 175, 22, 170, 173, 24, 23,
@@ -245,7 +245,7 @@ static uint8_t lowcase_ind[186] = {
66, 88, 68, 69, 72, 200, 73, 70, 71, 201, 202, 203, 204, 75, 80, 205, 206, 86, 67, 207,
85, 87, 90, 89, 91, 92, 94, 93, 95, 96, 109, 110, 196, 208, 209, 210, 211, 212, 213, 214,
215, 167, 149, 185, 111, 216, 114, 115, 116, 117, 118, 119, 120, 121, 126, 129, 132, 136, 134, 137,
- 122, 123, 124, 125, 127, 217, 130, 131, 133, 135, 138, 142, 143, 144, 145, 146, 147, 55, 58, 151,
- 156, 157, 159, 160, 161, 97, 98, 99, 162, 163, 164, 165, 166, 168, 169, 171, 183, 172, 182, 186,
- 187, 188, 189, 181, 195, 191,
+ 122, 123, 124, 125, 127, 217, 130, 131, 133, 135, 138, 142, 144, 146, 147, 55, 58, 151, 156, 157,
+ 159, 160, 161, 97, 98, 99, 162, 163, 164, 165, 166, 168, 169, 171, 183, 172, 182, 186, 187, 188,
+ 189, 181, 195, 191,
};