module ANSEL::CharacterMap

Direct including types

Defined in:

ansel/character_map.cr

Constant Summary

ANSI_TO_UTF16_MAP = NON_COMBINING.merge(COMBINING)
COMBINING = {57409 => 7842, 57413 => 7866, 57417 => 7880, 57423 => 7886, 57429 => 7910, 57433 => 7926, 57441 => 7843, 57445 => 7867, 57449 => 7881, 57455 => 7887, 57461 => 7911, 57465 => 7927, 14738241 => 7848, 14738245 => 7874, 14738255 => 7892, 14738273 => 7849, 14738277 => 7875, 14738287 => 7893, 14739009 => 7858, 14739041 => 7859, 224 => 777, 57665 => 192, 57669 => 200, 57673 => 204, 57679 => 210, 57685 => 217, 57687 => 7808, 57689 => 7922, 57697 => 224, 57701 => 232, 57705 => 236, 57711 => 242, 57717 => 249, 57719 => 7809, 57721 => 7923, 14803777 => 7846, 14803781 => 7872, 14803791 => 7890, 14803809 => 7847, 14803813 => 7873, 14803823 => 7891, 14804293 => 7700, 14804303 => 7760, 14804325 => 7701, 14804335 => 7761, 14804545 => 7856, 14804577 => 7857, 14805077 => 475, 14805109 => 476, 225 => 768, 57921 => 193, 57923 => 262, 57925 => 201, 57927 => 500, 57929 => 205, 57931 => 7728, 57932 => 313, 57933 => 7742, 57934 => 323, 57935 => 211, 57936 => 7764, 57938 => 340, 57939 => 346, 57941 => 218, 57943 => 7810, 57945 => 221, 57946 => 377, 57953 => 225, 57955 => 263, 57957 => 233, 57959 => 501, 57961 => 237, 57963 => 7729, 57964 => 314, 57965 => 7743, 57966 => 324, 57967 => 243, 57968 => 7765, 57970 => 341, 57971 => 347, 57973 => 250, 57975 => 7811, 57977 => 253, 57978 => 378, 58021 => 508, 58037 => 509, 14869313 => 7844, 14869317 => 7870, 14869327 => 7888, 14869345 => 7845, 14869349 => 7871, 14869359 => 7889, 14869583 => 7756, 14869589 => 7800, 14869615 => 7757, 14869621 => 7801, 14869829 => 7702, 14869839 => 7762, 14869861 => 7703, 14869871 => 7763, 14870081 => 7854, 14870113 => 7855, 14870355 => 7780, 14870387 => 7781, 14870601 => 7726, 14870613 => 471, 14870633 => 7727, 14870645 => 472, 14871105 => 506, 14871137 => 507, 14872643 => 7688, 14872675 => 7689, 226 => 769, 58177 => 194, 58179 => 264, 58181 => 202, 58183 => 284, 58184 => 292, 58185 => 206, 58186 => 308, 58191 => 212, 58195 => 348, 58197 => 219, 58199 => 372, 58201 => 374, 58202 => 7824, 58209 => 226, 58211 => 265, 58213 => 234, 58215 => 285, 58216 => 293, 58217 => 238, 58218 => 309, 58223 => 244, 58227 => 349, 58229 => 251, 58231 => 373, 58233 => 375, 58234 => 7825, 14934081 => 7848, 14934085 => 7874, 14934095 => 7892, 14934113 => 7849, 14934117 => 7875, 14934127 => 7893, 14934337 => 7846, 14934341 => 7872, 14934351 => 7890, 14934369 => 7847, 14934373 => 7873, 14934383 => 7891, 14934593 => 7844, 14934597 => 7870, 14934607 => 7888, 14934625 => 7845, 14934629 => 7871, 14934639 => 7889, 14935105 => 7850, 14935109 => 7876, 14935119 => 7894, 14935137 => 7851, 14935141 => 7877, 14935151 => 7895, 14938689 => 7852, 14938693 => 7878, 14938703 => 7896, 14938721 => 7853, 14938725 => 7879, 14938735 => 7897, 227 => 770, 58433 => 195, 58437 => 7868, 58441 => 296, 58446 => 209, 58447 => 213, 58453 => 360, 58454 => 7804, 58457 => 7928, 58465 => 227, 58469 => 7869, 58473 => 297, 58478 => 241, 58479 => 245, 58485 => 361, 58486 => 7805, 58489 => 7929, 15000143 => 7756, 15000149 => 7800, 15000175 => 7757, 15000181 => 7801, 15000385 => 7850, 15000389 => 7876, 15000399 => 7894, 15000417 => 7851, 15000421 => 7877, 15000431 => 7895, 15001153 => 7860, 15001185 => 7861, 15001679 => 7758, 15001711 => 7759, 228 => 771, 58689 => 256, 58693 => 274, 58695 => 7712, 58697 => 298, 58703 => 332, 58709 => 362, 58721 => 257, 58725 => 275, 58727 => 7713, 58729 => 299, 58735 => 333, 58741 => 363, 58789 => 482, 58805 => 483, 15065413 => 7700, 15065423 => 7760, 15065445 => 7701, 15065455 => 7761, 15065669 => 7702, 15065679 => 7762, 15065701 => 7703, 15065711 => 7763, 15066945 => 480, 15066977 => 481, 15067201 => 478, 15067221 => 7802, 15067233 => 479, 15067253 => 7803, 15069519 => 492, 15069551 => 493, 15069772 => 7736, 15069778 => 7772, 15069804 => 7737, 15069810 => 7773, 229 => 772, 58945 => 258, 58949 => 276, 58951 => 286, 58953 => 300, 58959 => 334, 58965 => 364, 58977 => 259, 58981 => 277, 58983 => 287, 58985 => 301, 58991 => 335, 58997 => 365, 15130689 => 7858, 15130721 => 7859, 15130945 => 7856, 15130977 => 7857, 15131201 => 7854, 15131233 => 7855, 15131713 => 7860, 15131745 => 7861, 15134789 => 7708, 15134821 => 7709, 15135297 => 7862, 15135329 => 7863, 230 => 774, 59202 => 7682, 59203 => 266, 59204 => 7690, 59205 => 278, 59206 => 7710, 59207 => 288, 59208 => 7714, 59209 => 304, 59213 => 7744, 59214 => 7748, 59216 => 7766, 59218 => 7768, 59219 => 7776, 59220 => 7786, 59223 => 7814, 59224 => 7818, 59225 => 7822, 59226 => 379, 59234 => 7683, 59235 => 267, 59236 => 7691, 59237 => 279, 59238 => 7711, 59239 => 289, 59240 => 7715, 59245 => 7745, 59246 => 7749, 59248 => 7767, 59250 => 7769, 59251 => 7777, 59252 => 7787, 59255 => 7815, 59256 => 7819, 59257 => 7823, 59258 => 380, 15196755 => 7780, 15196787 => 7781, 15197505 => 480, 15197537 => 481, 15198547 => 7782, 15198579 => 7783, 15200851 => 7784, 15200883 => 7785, 231 => 775, 59457 => 196, 59461 => 203, 59464 => 7718, 59465 => 207, 59471 => 214, 59477 => 220, 59479 => 7812, 59480 => 7820, 59481 => 376, 59489 => 228, 59493 => 235, 59496 => 7719, 59497 => 239, 59503 => 246, 59508 => 7831, 59509 => 252, 59511 => 7813, 59512 => 7821, 59513 => 255, 15262037 => 475, 15262069 => 476, 15262281 => 7726, 15262293 => 471, 15262313 => 7727, 15262325 => 472, 15262799 => 7758, 15262831 => 7759, 15263041 => 478, 15263061 => 7802, 15263073 => 479, 15263093 => 7803, 15264085 => 473, 15264117 => 474, 232 => 776, 59713 => 461, 59715 => 268, 59716 => 270, 59717 => 282, 59719 => 486, 59721 => 463, 59723 => 488, 59724 => 317, 59726 => 327, 59727 => 465, 59730 => 344, 59731 => 352, 59732 => 356, 59733 => 467, 59738 => 381, 59745 => 462, 59747 => 269, 59748 => 271, 59749 => 283, 59751 => 487, 59753 => 464, 59754 => 496, 59755 => 489, 59756 => 318, 59758 => 328, 59759 => 466, 59762 => 345, 59763 => 353, 59764 => 357, 59765 => 468, 59770 => 382, 15329107 => 7782, 15329139 => 7783, 15329365 => 473, 15329397 => 474, 233 => 780, 59969 => 197, 59989 => 366, 60001 => 229, 60021 => 367, 60023 => 7832, 60025 => 7833, 15393345 => 506, 15393377 => 507, 234 => 778, 235 => 65056, 236 => 65057, 237 => 789, 61007 => 336, 61013 => 368, 61039 => 337, 61045 => 369, 238 => 779, 239 => 784, 61507 => 199, 61508 => 7696, 61511 => 290, 61512 => 7720, 61515 => 310, 61516 => 315, 61518 => 325, 61522 => 342, 61523 => 350, 61524 => 354, 61539 => 231, 61540 => 7697, 61543 => 291, 61544 => 7721, 61547 => 311, 61548 => 316, 61550 => 326, 61554 => 343, 61555 => 351, 61556 => 355, 15786563 => 7688, 15786595 => 7689, 15787589 => 7708, 15787621 => 7709, 240 => 807, 61761 => 260, 61765 => 280, 61769 => 302, 61775 => 490, 61781 => 370, 61793 => 261, 61797 => 281, 61801 => 303, 61807 => 491, 61813 => 371, 15852879 => 492, 15852911 => 493, 241 => 808, 62017 => 7840, 62018 => 7684, 62020 => 7692, 62021 => 7864, 62024 => 7716, 62025 => 7882, 62027 => 7730, 62028 => 7734, 62029 => 7746, 62030 => 7750, 62031 => 7884, 62034 => 7770, 62035 => 7778, 62036 => 7788, 62037 => 7908, 62038 => 7806, 62039 => 7816, 62041 => 7924, 62042 => 7826, 62049 => 7841, 62050 => 7685, 62052 => 7693, 62053 => 7865, 62056 => 7717, 62057 => 7883, 62059 => 7731, 62060 => 7735, 62061 => 7747, 62062 => 7751, 62063 => 7885, 62066 => 7771, 62067 => 7779, 62068 => 7789, 62069 => 7909, 62070 => 7807, 62071 => 7817, 62073 => 7925, 62074 => 7827, 15917889 => 7852, 15917893 => 7878, 15917903 => 7896, 15917921 => 7853, 15917925 => 7879, 15917935 => 7897, 15918412 => 7736, 15918418 => 7772, 15918444 => 7737, 15918450 => 7773, 15918657 => 7862, 15918689 => 7863, 15918931 => 7784, 15918963 => 7785, 242 => 803, 62293 => 7794, 62325 => 7795, 243 => 804, 62529 => 7680, 62561 => 7681, 244 => 805, 245 => 819, 63042 => 7686, 63044 => 7694, 63051 => 7732, 63052 => 7738, 63054 => 7752, 63058 => 7774, 63060 => 7790, 63066 => 7828, 63074 => 7687, 63076 => 7695, 63080 => 7830, 63083 => 7733, 63084 => 7739, 63086 => 7753, 63090 => 7775, 63092 => 7791, 63098 => 7829, 246 => 818, 247 => 806, 248 => 801, 63816 => 7722, 63848 => 7723, 249 => 814, 250 => 65058, 251 => 65059}
NON_COMBINING = {161 => 321, 162 => 216, 163 => 272, 164 => 222, 165 => 198, 166 => 338, 167 => 697, 168 => 183, 169 => 9837, 170 => 174, 171 => 177, 172 => 416, 173 => 431, 174 => 700, 176 => 699, 177 => 322, 178 => 248, 179 => 273, 180 => 254, 181 => 230, 182 => 339, 183 => 698, 184 => 305, 185 => 163, 186 => 240, 188 => 417, 189 => 432, 192 => 176, 193 => 8467, 194 => 8471, 195 => 169, 196 => 9839, 197 => 191, 198 => 161, 199 => 223, 200 => 8364}
UTF16_TO_ANSI_MAP = ANSI_TO_UTF16_MAP.invert