defaultUnicodeMap top-level constant
Mapping of Unicode codepoints to the built-in codepage 437 glyph index.
Does not include codepoints whose codepage 437 index is the same as the default glyph index.
Copyright (c) 2014 Robert Nystrom. See https://github.com/munificent/malison
Implementation
const defaultUnicodeMap = {
// 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
};