-
Notifications
You must be signed in to change notification settings - Fork 2
/
unicodemap.ts
184 lines (173 loc) · 6.87 KB
/
unicodemap.ts
1
2
3
4
5
6
7
8
9
10
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
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
import { CharCode } from "./char-code";
export const unicodeMap: { [index: number]: number } = {
// 1 - 15.
[CharCode.whiteSmilingFace]: 1,
[CharCode.blackSmilingFace]: 2,
[CharCode.blackHeartSuit]: 3,
[CharCode.blackDiamondSuit]: 4,
[CharCode.blackClubSuit]: 5,
[CharCode.blackSpadeSuit]: 6,
[CharCode.bullet]: 7,
[CharCode.inverseBullet]: 8,
[CharCode.whiteCircle]: 9,
[CharCode.inverseWhiteCircle]: 10,
[CharCode.maleSign]: 11,
[CharCode.femaleSign]: 12,
[CharCode.eighthNote]: 13,
[CharCode.beamedEighthNotes]: 14,
[CharCode.whiteSunWithRays]: 15,
// 16 - 31.
[CharCode.blackRightPointingPointer]: 16,
[CharCode.blackLeftPointingPointer]: 17,
[CharCode.upDownArrow]: 18,
[CharCode.doubleExclamationMark]: 19,
[CharCode.pilcrow]: 20,
[CharCode.sectionSign]: 21,
[CharCode.blackRectangle]: 22,
[CharCode.upDownArrowWithBase]: 23,
[CharCode.upwardsArrow]: 24,
[CharCode.downwardsArrow]: 25,
[CharCode.rightwardsArrow]: 26,
[CharCode.leftwardsArrow]: 27,
[CharCode.rightAngle]: 28,
[CharCode.leftRightArrow]: 29,
[CharCode.blackUpPointingTriangle]: 30,
[CharCode.blackDownPointingTriangle]: 31,
// 127.
[CharCode.house]: 127,
// 128 - 143.
[CharCode.latinCapitalLetterCWithCedilla]: 128,
[CharCode.latinSmallLetterUWithDiaeresis]: 129,
[CharCode.latinSmallLetterEWithAcute]: 130,
[CharCode.latinSmallLetterAWithCircumflex]: 131,
[CharCode.latinSmallLetterAWithDiaeresis]: 132,
[CharCode.latinSmallLetterAWithGrave]: 133,
[CharCode.latinSmallLetterAWithRingAbove]: 134,
[CharCode.latinSmallLetterCWithCedilla]: 135,
[CharCode.latinSmallLetterEWithCircumflex]: 136,
[CharCode.latinSmallLetterEWithDiaeresis]: 137,
[CharCode.latinSmallLetterEWithGrave]: 138,
[CharCode.latinSmallLetterIWithDiaeresis]: 139,
[CharCode.latinSmallLetterIWithCircumflex]: 140,
[CharCode.latinSmallLetterIWithGrave]: 141,
[CharCode.latinCapitalLetterAWithDiaeresis]: 142,
[CharCode.latinCapitalLetterAWithRingAbove]: 143,
// 144 - 159.
[CharCode.latinCapitalLetterEWithAcute]: 144,
[CharCode.latinSmallLetterAe]: 145,
[CharCode.latinCapitalLetterAe]: 146,
[CharCode.latinSmallLetterOWithCircumflex]: 147,
[CharCode.latinSmallLetterOWithDiaeresis]: 148,
[CharCode.latinSmallLetterOWithGrave]: 149,
[CharCode.latinSmallLetterUWithCircumflex]: 150,
[CharCode.latinSmallLetterUWithGrave]: 151,
[CharCode.latinSmallLetterYWithDiaeresis]: 152,
[CharCode.latinCapitalLetterOWithDiaeresis]: 153,
[CharCode.latinCapitalLetterUWithDiaeresis]: 154,
[CharCode.centSign]: 155,
[CharCode.poundSign]: 156,
[CharCode.yenSign]: 157,
[CharCode.pesetaSign]: 158,
[CharCode.latinSmallLetterFWithHook]: 159,
// 160 - 175.
[CharCode.latinSmallLetterAWithAcute]: 160,
[CharCode.latinSmallLetterIWithAcute]: 161,
[CharCode.latinSmallLetterOWithAcute]: 162,
[CharCode.latinSmallLetterUWithAcute]: 163,
[CharCode.latinSmallLetterNWithTilde]: 164,
[CharCode.latinCapitalLetterNWithTilde]: 165,
[CharCode.feminineOrdinalIndicator]: 166,
[CharCode.masculineOrdinalIndicator]: 167,
[CharCode.invertedQuestionMark]: 168,
[CharCode.reversedNotSign]: 169,
[CharCode.notSign]: 170,
[CharCode.vulgarFractionOneHalf]: 171,
[CharCode.vulgarFractionOneQuarter]: 172,
[CharCode.invertedExclamationMark]: 173,
[CharCode.leftPointingDoubleAngleQuotationMark]: 174,
[CharCode.rightPointingDoubleAngleQuotationMark]: 175,
// 176 - 191.
[CharCode.lightShade]: 176,
[CharCode.mediumShade]: 177,
[CharCode.darkShade]: 178,
[CharCode.boxDrawingsLightVertical]: 179,
[CharCode.boxDrawingsLightVerticalAndLeft]: 180,
[CharCode.boxDrawingsVerticalSingleAndLeftDouble]: 181,
[CharCode.boxDrawingsVerticalDoubleAndLeftSingle]: 182,
[CharCode.boxDrawingsDownDoubleAndLeftSingle]: 183,
[CharCode.boxDrawingsDownSingleAndLeftDouble]: 184,
[CharCode.boxDrawingsDoubleVerticalAndLeft]: 185,
[CharCode.boxDrawingsDoubleVertical]: 186,
[CharCode.boxDrawingsDoubleDownAndLeft]: 187,
[CharCode.boxDrawingsDoubleUpAndLeft]: 188,
[CharCode.boxDrawingsUpDoubleAndLeftSingle]: 189,
[CharCode.boxDrawingsUpSingleAndLeftDouble]: 190,
[CharCode.boxDrawingsLightDownAndLeft]: 191,
// 192 - 207.
[CharCode.boxDrawingsLightUpAndRight]: 192,
[CharCode.boxDrawingsLightUpAndHorizontal]: 193,
[CharCode.boxDrawingsLightDownAndHorizontal]: 194,
[CharCode.boxDrawingsLightVerticalAndRight]: 195,
[CharCode.boxDrawingsLightHorizontal]: 196,
[CharCode.boxDrawingsLightVerticalAndHorizontal]: 197,
[CharCode.boxDrawingsVerticalSingleAndRightDouble]: 198,
[CharCode.boxDrawingsVerticalDoubleAndRightSingle]: 199,
[CharCode.boxDrawingsDoubleUpAndRight]: 200,
[CharCode.boxDrawingsDoubleDownAndRight]: 201,
[CharCode.boxDrawingsDoubleUpAndHorizontal]: 202,
[CharCode.boxDrawingsDoubleDownAndHorizontal]: 203,
[CharCode.boxDrawingsDoubleVerticalAndRight]: 204,
[CharCode.boxDrawingsDoubleHorizontal]: 205,
[CharCode.boxDrawingsDoubleVerticalAndHorizontal]: 206,
[CharCode.boxDrawingsUpSingleAndHorizontalDouble]: 207,
// 208 - 223.
[CharCode.boxDrawingsUpDoubleAndHorizontalSingle]: 208,
[CharCode.boxDrawingsDownSingleAndHorizontalDouble]: 209,
[CharCode.boxDrawingsDownDoubleAndHorizontalSingle]: 210,
[CharCode.boxDrawingsUpDoubleAndRightSingle]: 211,
[CharCode.boxDrawingsUpSingleAndRightDouble]: 212,
[CharCode.boxDrawingsDownSingleAndRightDouble]: 213,
[CharCode.boxDrawingsDownDoubleAndRightSingle]: 214,
[CharCode.boxDrawingsVerticalDoubleAndHorizontalSingle]: 215,
[CharCode.boxDrawingsVerticalSingleAndHorizontalDouble]: 216,
[CharCode.boxDrawingsLightUpAndLeft]: 217,
[CharCode.boxDrawingsLightDownAndRight]: 218,
[CharCode.fullBlock]: 219,
[CharCode.lowerHalfBlock]: 220,
[CharCode.leftHalfBlock]: 221,
[CharCode.rightHalfBlock]: 222,
[CharCode.upperHalfBlock]: 223,
// 224 - 239.
[CharCode.greekSmallLetterAlpha]: 224,
[CharCode.latinSmallLetterSharpS]: 225,
[CharCode.greekCapitalLetterGamma]: 226,
[CharCode.greekSmallLetterPi]: 227,
[CharCode.greekCapitalLetterSigma]: 228,
[CharCode.greekSmallLetterSigma]: 229,
[CharCode.microSign]: 230,
[CharCode.greekSmallLetterTau]: 231,
[CharCode.greekCapitalLetterPhi]: 232,
[CharCode.greekCapitalLetterTheta]: 233,
[CharCode.greekCapitalLetterOmega]: 234,
[CharCode.greekSmallLetterDelta]: 235,
[CharCode.infinity]: 236,
[CharCode.greekSmallLetterPhi]: 237,
[CharCode.greekSmallLetterEpsilon]: 238,
[CharCode.intersection]: 239,
// 240 - 255.
[CharCode.identicalTo]: 240,
[CharCode.plusMinusSign]: 241,
[CharCode.greaterThanOrEqualTo]: 242,
[CharCode.lessThanOrEqualTo]: 243,
[CharCode.topHalfIntegral]: 244,
[CharCode.bottomHalfIntegral]: 245,
[CharCode.divisionSign]: 246,
[CharCode.almostEqualTo]: 247,
[CharCode.degreeSign]: 248,
[CharCode.bulletOperator]: 249,
[CharCode.middleDot]: 250,
[CharCode.squareRoot]: 251,
[CharCode.superscriptLatinSmallLetterN]: 252,
[CharCode.superscriptTwo]: 253,
[CharCode.blackSquare]: 254,
};