asciiCodes constant

Map<String, String> const asciiCodes

A map of all symbols with an ASCII code character entity.

Note: The space character ( ) will return a non-breaking space (&#160;). As such, the space character code &#32; does not exist as a value in this map.

The soft hyphen character code (&#173;) is also left out of this map, as it doesn't have an actual character representation.

Implementation

static const Map<String, String> asciiCodes = <String, String>{
  // exclamation mark
  '!': '&#33;',
  // double quote
  '"': '&#34;',
  // number sign
  '#': '&#35;',
  // dollar sign
  '\$': '&#36;',
  // percent sign
  '%': '&#37;',
  // ampersand
  '&': '&#38;',
  // apostrophe (single quote)
  '\'': '&#39;',
  // opening parenthesis
  '(': '&#40;',
  // closing parenthesis
  ')': '&#41;',
  // asterisk
  '*': '&#42;',
  // plus sign
  '+': '&#43;',
  // comma
  ',': '&#44;',
  // minus sign (hyphen)
  '-': '&#45;',
  // period
  '.': '&#46;',
  // slash
  '/': '&#47;',
  // zero
  '0': '&#48;',
  // one
  '1': '&#49;',
  // two
  '2': '&#50;',
  // three
  '3': '&#51;',
  // four
  '4': '&#52;',
  // five
  '5': '&#53;',
  // six
  '6': '&#54;',
  // seven
  '7': '&#55;',
  // eight
  '8': '&#56;',
  // nine
  '9': '&#57;',
  // colon
  ':': '&#58;',
  // semicolon
  ';': '&#59;',
  // less-than
  '<': '&#60;',
  // equal sign
  '=': '&#61;',
  // greater-than
  '>': '&#62;',
  // question mark
  '?': '&#63;',
  // at symbol
  '@': '&#64;',
  // uppercase a
  'A': '&#65;',
  // uppercase b
  'B': '&#66;',
  // uppercase c
  'C': '&#67;',
  // uppercase d
  'D': '&#68;',
  // uppercase e
  'E': '&#69;',
  // uppercase f
  'F': '&#70;',
  // uppercase g
  'G': '&#71;',
  // uppercase h
  'H': '&#72;',
  // uppercase i
  'I': '&#73;',
  // uppercase j
  'J': '&#74;',
  // uppercase k
  'K': '&#75;',
  // uppercase l
  'L': '&#76;',
  // uppercase m
  'M': '&#77;',
  // uppercase n
  'N': '&#78;',
  // uppercase o
  'O': '&#79;',
  // uppercase p
  'P': '&#80;',
  // uppercase q
  'Q': '&#81;',
  // uppercase r
  'R': '&#82;',
  // uppercase s
  'S': '&#83;',
  // uppercase t
  'T': '&#84;',
  // uppercase u
  'U': '&#85;',
  // uppercase v
  'V': '&#86;',
  // uppercase w
  'W': '&#87;',
  // uppercase x
  'X': '&#88;',
  // uppercase y
  'Y': '&#89;',
  // uppercase z
  'Z': '&#90;',
  // opening bracket
  '[': '&#91;',
  // backslash
  '\\': '&#92;',
  // closing bracket
  ']': '&#93;',
  // caret (circumflex)
  '^': '&#94;',
  // underscore
  '_': '&#95;',
  // grave accent
  '`': '&#96;',
  // lowercase a
  'a': '&#97;',
  // lowercase b
  'b': '&#98;',
  // lowercase c
  'c': '&#99;',
  // lowercase d
  'd': '&#100;',
  // lowercase e
  'e': '&#101;',
  // lowercase f
  'f': '&#102;',
  // lowercase g
  'g': '&#103;',
  // lowercase h
  'h': '&#104;',
  // lowercase i
  'i': '&#105;',
  // lowercase j
  'j': '&#106;',
  // lowercase k
  'k': '&#107;',
  // lowercase l
  'l': '&#108;',
  // lowercase m
  'm': '&#109;',
  // lowercase n
  'n': '&#110;',
  // lowercase o
  'o': '&#111;',
  // lowercase p
  'p': '&#112;',
  // lowercase q
  'q': '&#113;',
  // lowercase r
  'r': '&#114;',
  // lowercase s
  's': '&#115;',
  // lowercase t
  't': '&#116;',
  // lowercase u
  'u': '&#117;',
  // lowercase v
  'v': '&#118;',
  // lowercase w
  'w': '&#119;',
  // lowercase x
  'x': '&#120;',
  // lowercase y
  'y': '&#121;',
  // lowercase z
  'z': '&#122;',
  // opening brace
  '{': '&#123;',
  // vertical bar
  '|': '&#124;',
  // closing brace
  '}': '&#125;',
  // equivalency sign (tilde)
  '~': '&#126;',
  // non-breaking space
  ' ': '&#160;',
  // inverted exclamation mark
  '¡': '&#161;',
  // cent sign
  '¢': '&#162;',
  // pound sign
  '£': '&#163;',
  // currency sign
  '¤': '&#164;',
  // yen sign (yuan sign)
  '¥': '&#165;',
  // broken bar (broken vertical bar)
  '¦': '&#166;',
  // section sign
  '§': '&#167;',
  // diaeresis (spacing diaeresis)
  '¨': '&#168;',
  // copyright symbol
  '©': '&#169;',
  // feminine ordinal indicator
  'ª': '&#170;',
  // left-pointing double angle quotation mark (left pointing guillemet)
  '«': '&#171;',
  // not sign
  '¬': '&#172;',
  // registered sign (registered trademark symbol)
  '®': '&#174;',
  // macron (spacing macron, overline, APL overbar)
  '¯': '&#175;',
  // degree symbol
  '°': '&#176;',
  // plus-minus sign (plus-or-minus sign)
  '±': '&#177;',
  // superscript two (superscript digit two, squared)
  '²': '&#178;',
  // superscript three (superscript digit three, cubed)
  '³': '&#179;',
  // acute accent (spacing acute)
  '´': '&#180;',
  // micro sign
  'µ': '&#181;',
  // pilcrow sign (paragraph sign)
  '¶': '&#182;',
  // middle dot (Georgian comma, Greek middle dot)
  '·': '&#183;',
  // cedilla (spacing cedilla)
  '¸': '&#184;',
  // superscript one (superscript digit one)
  '¹': '&#185;',
  // masculine ordinal indicator
  'º': '&#186;',
  // right-pointing double angle quotation mark (right pointing guillemet)
  '»': '&#187;',
  // vulgar fraction one quarter (fraction one quarter)
  '¼': '&#188;',
  // vulgar fraction one half (fraction one half)
  '½': '&#189;',
  // vulgar fraction three quarters (fraction three quarters)
  '¾': '&#190;',
  // inverted question mark (turned question mark)
  '¿': '&#191;',
  // Latin capital letter A with grave accent (Latin capital letter A grave)
  'À': '&#192;',
  // Latin capital letter A with acute accent
  'Á': '&#193;',
  // Latin capital letter A with circumflex
  'Â': '&#194;',
  // Latin capital letter A with tilde
  'Ã': '&#195;',
  // Latin capital letter A with diaeresis
  'Ä': '&#196;',
  // Latin capital letter A with ring above (Latin capital letter A ring)
  'Å': '&#197;',
  // Latin capital letter AE (Latin capital ligature AE)
  'Æ': '&#198;',
  // Latin capital letter C with cedilla
  'Ç': '&#199;',
  // Latin capital letter E with grave accent
  'È': '&#200;',
  // Latin capital letter E with acute accent
  'É': '&#201;',
  // Latin capital letter E with circumflex
  'Ê': '&#202;',
  // Latin capital letter E with diaeresis
  'Ë': '&#203;',
  // Latin capital letter I with grave accent
  'Ì': '&#204;',
  // Latin capital letter I with acute accent
  'Í': '&#205;',
  // Latin capital letter I with circumflex
  'Î': '&#206;',
  // Latin capital letter I with diaeresis
  'Ï': '&#207;',
  // Latin capital letter Eth
  'Ð': '&#208;',
  // Latin capital letter N with tilde
  'Ñ': '&#209;',
  // Latin capital letter O with grave accent
  'Ò': '&#210;',
  // Latin capital letter O with acute accent
  'Ó': '&#211;',
  // Latin capital letter O with circumflex
  'Ô': '&#212;',
  // Latin capital letter O with tilde
  'Õ': '&#213;',
  // Latin capital letter O with diaeresis
  'Ö': '&#214;',
  // multiplication sign
  '×': '&#215;',
  // Latin capital letter O with stroke (Latin capital letter O slash)
  'Ø': '&#216;',
  // Latin capital letter U with grave accent
  'Ù': '&#217;',
  // Latin capital letter U with acute accent
  'Ú': '&#218;',
  // Latin capital letter U with circumflex
  'Û': '&#219;',
  // Latin capital letter U with diaeresis
  'Ü': '&#220;',
  // Latin capital letter Y with acute accent
  'Ý': '&#221;',
  // Latin capital letter THORN
  'Þ': '&#222;',
  // Latin small letter sharp s (ess-zed); see German Eszett
  'ß': '&#223;',
  // Latin small letter a with grave accent
  'à': '&#224;',
  // Latin small letter a with acute accent
  'á': '&#225;',
  // Latin small letter a with circumflex
  'â': '&#226;',
  // Latin small letter a with tilde
  'ã': '&#227;',
  // Latin small letter a with diaeresis
  'ä': '&#228;',
  // Latin small letter a with ring above
  'å': '&#229;',
  // Latin small letter ae (Latin small ligature ae)
  'æ': '&#230;',
  // Latin small letter c with cedilla
  'ç': '&#231;',
  // Latin small letter e with grave accent
  'è': '&#232;',
  // Latin small letter e with acute accent
  'é': '&#233;',
  // Latin small letter e with circumflex
  'ê': '&#234;',
  // Latin small letter e with diaeresis
  'ë': '&#235;',
  // Latin small letter i with grave accent
  'ì': '&#236;',
  // Latin small letter i with acute accent
  'í': '&#237;',
  // Latin small letter i with circumflex
  'î': '&#238;',
  // Latin small letter i with diaeresis
  'ï': '&#239;',
  // Latin small letter eth
  'ð': '&#240;',
  // Latin small letter n with tilde
  'ñ': '&#241;',
  // Latin small letter o with grave accent
  'ò': '&#242;',
  // Latin small letter o with acute accent
  'ó': '&#243;',
  // Latin small letter o with circumflex
  'ô': '&#244;',
  // Latin small letter o with tilde
  'õ': '&#245;',
  // Latin small letter o with diaeresis
  'ö': '&#246;',
  // division sign (obelus)
  '÷': '&#247;',
  // Latin small letter o with stroke (Latin small letter o slash)
  'ø': '&#248;',
  // Latin small letter u with grave accent
  'ù': '&#249;',
  // Latin small letter u with acute accent
  'ú': '&#250;',
  // Latin small letter u with circumflex
  'û': '&#251;',
  // Latin small letter u with diaeresis
  'ü': '&#252;',
  // Latin small letter y with acute accent
  'ý': '&#253;',
  // Latin small letter thorn
  'þ': '&#254;',
  // Latin small letter y with diaeresis
  'ÿ': '&#255;',
  // Latin capital ligature oe
  'Œ': '&#338;',
  // Latin small ligature oe
  'œ': '&#339;',
  // Latin capital letter s with caron
  'Š': '&#352;',
  // Latin small letter s with caron
  'š': '&#353;',
  // Latin capital letter w with circumflex
  'Ŵ': '&#372;',
  // Latin small letter w with circumflex
  'ŵ': '&#373;',
  // Latin capital letter y with circumflex
  'Ŷ': '&#374;',
  // Latin small letter y with circumflex
  'ŷ': '&#375;',
  // Latin capital letter y with diaeresis
  'Ÿ': '&#376;',
  // Latin small letter f with hook (function, florin)
  'ƒ': '&#402;',
  // modifier letter circumflex accent
  'ˆ': '&#710;',
  // small tilde
  '˜': '&#732;',
  // Greek capital letter Alpha
  'Α': '&#913;',
  // Greek capital letter Beta
  'Β': '&#914;',
  // Greek capital letter Gamma
  'Γ': '&#915;',
  // Greek capital letter Delta
  'Δ': '&#916;',
  // Greek capital letter Epsilon
  'Ε': '&#917;',
  // Greek capital letter Zeta
  'Ζ': '&#918;',
  // Greek capital letter Eta
  'Η': '&#919;',
  // Greek capital letter Theta
  'Θ': '&#920;',
  // Greek capital letter Iota
  'Ι': '&#921;',
  // Greek capital letter Kappa
  'Κ': '&#922;',
  // Greek capital letter Lambda
  'Λ': '&#923;',
  // Greek capital letter Mu
  'Μ': '&#924;',
  // Greek capital letter Nu
  'Ν': '&#925;',
  // Greek capital letter Xi
  'Ξ': '&#926;',
  // Greek capital letter Omicron
  'Ο': '&#927;',
  // Greek capital letter Pi
  'Π': '&#928;',
  // Greek capital letter Rho
  'Ρ': '&#929;',
  // Greek capital letter Sigma
  'Σ': '&#931;',
  // Greek capital letter Tau
  'Τ': '&#932;',
  // Greek capital letter Upsilon
  'Υ': '&#933;',
  // Greek capital letter Phi
  'Φ': '&#934;',
  // Greek capital letter Chi
  'Χ': '&#935;',
  // Greek capital letter Psi
  'Ψ': '&#936;',
  // Greek capital letter Omega
  'Ω': '&#937;',
  // Greek capital letter iota with dialytika
  'Ϊ': '&#938;',
  // Greek capital letter upsilon with dialytika
  'Ϋ': '&#939;',
  // Greek small letter alpha with tonos
  'ά': '&#940;',
  // Greek small letter epsilon with tonos
  'έ': '&#941;',
  // Greek small letter eta with tonos
  'ή': '&#942;',
  // Greek small letter iota with tonos
  'ί': '&#943;',
  // Greek small letter upsilon with dialytika and tonos
  'ΰ': '&#944;',
  // Greek small letter alpha
  'α': '&#945;',
  // Greek small letter beta
  'β': '&#946;',
  // Greek small letter gamma
  'γ': '&#947;',
  // Greek small letter delta
  'δ': '&#948;',
  // Greek small letter epsilon
  'ε': '&#949;',
  // Greek small letter zeta
  'ζ': '&#950;',
  // Greek small letter eta
  'η': '&#951;',
  // Greek small letter theta
  'θ': '&#952;',
  // Greek small letter iota
  'ι': '&#953;',
  // Greek small letter kappa
  'κ': '&#954;',
  // Greek small letter lambda
  'λ': '&#955;',
  // Greek small letter mu
  'μ': '&#956;',
  // Greek small letter nu
  'ν': '&#957;',
  // Greek small letter xi
  'ξ': '&#958;',
  // Greek small letter omicron
  'ο': '&#959;',
  // Greek small letter pi
  'π': '&#960;',
  // Greek small letter rho
  'ρ': '&#961;',
  // Greek small letter final sigma
  'ς': '&#962;',
  // Greek small letter sigma
  'σ': '&#963;',
  // Greek small letter tau
  'τ': '&#964;',
  // Greek small letter upsilon
  'υ': '&#965;',
  // Greek small letter phi
  'φ': '&#966;',
  // Greek small letter chi
  'χ': '&#967;',
  // Greek small letter psi
  'ψ': '&#968;',
  // Greek small letter omega
  'ω': '&#969',
  // Greek small letter iota with dialytika
  'ϊ': '&#970;',
  // Greek small letter upsilon with dialytika
  'ϋ': '&#971;',
  // Greek small letter omicron with tonos
  'ό': '&#972;',
  // Greek small letter upsilon with tonos
  'ύ': '&#973;',
  // Greek small letter omega with tonos
  'ώ': '&#974;',
  // Greek capital kai symbol
  'Ϗ': '&#975;',
  // Greek beta symbol
  'ϐ': '&#976;',
  // Greek theta symbol
  'ϑ': '&#977;',
  // Greek upsilon with hook symbol
  'ϒ': '&#978;',
  // Greek upsilon with acute and hook symbol
  'ϓ': '&#979;',
  // Greek upsilon with diaeresis and hook symbol
  'ϔ': '&#980;',
  // Greek phi symbol
  'ϕ': '&#981;',
  // Greek pi symbol
  'ϖ': '&#982;',
  // Latin capital letter w with grave
  'Ẁ': '&#7808;',
  // Latin small letter w with grave
  'ẁ': '&#7809;',
  // Latin capital letter w with acute
  'Ẃ': '&#7810;',
  // Latin small letter w with acute
  'ẃ': '&#7811;',
  // Latin capital letter w with diaeresis
  'Ẅ': '&#7812;',
  // Latin small letter w with diaeresis
  'ẅ': '&#7813;',
  // Latin capital letter y with grave
  'Ỳ': '&#7922;',
  // Latin small letter y with grave
  'ỳ': '&#7923;',
  // en space
  ' ': '&#8194;',
  // em space
  ' ': '&#8195;',
  // thin space
  ' ': '&#8201;',
  // en dash
  '–': '&#8211;',
  // em dash
  '—': '&#8212;',
  // left single quotation mark
  '‘': '&#8216;',
  // right single quotation mark
  '’': '&#8217;',
  // single low-9 quotation mark
  '‚': '&#8218;',
  // left double quotation mark
  '“': '&#8220;',
  // right double quotation mark
  '”': '&#8221;',
  // double low-9 quotation mark
  '„': '&#8222;',
  // dagger, obelisk
  '†': '&#8224;',
  // double dagger (double obelisk)
  '‡': '&#8225;',
  // bullet (black small circle)
  '•': '&#8226;',
  // horizontal ellipsis (three dot leader)
  '…': '&#8230;',
  // per mille sign
  '‰': '&#8240;',
  // prime (minutes, feet)
  '′': '&#8242;',
  // double prime (seconds, inches)
  '″': '&#8243;',
  // single left-pointing angle quotation mark
  '‹': '&#8249;',
  // single right-pointing angle quotation mark
  '›': '&#8250;',
  // overline (spacing overscore)
  '‾': '&#8254;',
  // fraction slash (solidus)
  '⁄': '&#8260;',
  // euro sign
  '€': '&#8364;',
  // black-letter capital I (imaginary part)
  'ℑ': '&#8465;',
  // script capital P (power set, Weierstrass p)
  '℘': '&#8472;',
  // black-letter capital R (real part symbol)
  'ℜ': '&#8476;',
  // trademark symbol
  '™': '&#8482;',
  // alef symbol (first transfinite cardinal)
  'ℵ': '&#8501;',
  // leftwards arrow
  '←': '&#8592;',
  // upwards arrow
  '↑': '&#8593;',
  // rightwards arrow
  '→': '&#8594;',
  // downwards arrow
  '↓': '&#8595;',
  // left right arrow
  '↔': '&#8596;',
  // downwards arrow with corner leftwards (carriage return)
  '↵': '&#8629;',
  // leftwards double arrow
  '⇐': '&#8656;',
  // upwards double arrow
  '⇑': '&#8657;',
  // rightwards double arrow
  '⇒': '&#8658',
  // downwards double arrow
  '⇓': '&#8659;',
  // left right double arrow
  '⇔': '&#8660;',
  // for all
  '∀': '&#8704;',
  // partial differential
  '∂': '&#8706;',
  // there exists
  '∃': '&#8707;',
  // empty set (null set)
  '∅': '&#8709;',
  // del or nabla (vector differential operator)
  '∇': '&#8711;',
  // element of
  '∈': '&#8712;',
  // not an element of
  '∉': '&#8713;',
  // contains as member
  '∋': '&#8715;',
  // n-ary product (product sign)
  '∏': '&#8719;',
  // n-ary summation
  '∑': '&#8721;',
  // minus sign
  '−': '&#8722;',
  // asterisk operator
  '∗': '&#8727;',
  // square root (radical sign)
  '√': '&#8730;',
  // proportional to
  '∝': '&#8733;',
  // infinity
  '∞': '&#8734;',
  // angle
  '∠': '&#8736;',
  // logical and (wedge)
  '∧': '&#8743;',
  // logical or (vee)
  '∨': '&#8744;',
  // intersection (cap)
  '∩': '&#8745;',
  // union (cup)
  '∪': '&#8746;',
  // integral
  '∫': '&#8747;',
  // therefore sign
  '∴': '&#8756;',
  // tilde operator (varies with, similar to)
  '∼': '&#8764;',
  // congruent to
  '≅': '&#8773;',
  // almost equal to (asymptotic to)
  '≈': '&#8776;',
  // not equal to
  '≠': '&#8800;',
  // identical to; sometimes used for 'equivalent to'
  '≡': '&#8801;',
  // less-than or equal to
  '≤': '&#8804;',
  // greater-than or equal to
  '≥': '&#8805;',
  // subset of
  '⊂': '&#8834;',
  // superset of
  '⊃': '&#8835;',
  // not a subset of
  '⊄': '&#8836;',
  // subset of or equal to
  '⊆': '&#8838;',
  // superset of or equal to
  '⊇': '&#8839;',
  // circled plus (direct sum)
  '⊕': '&#8853;',
  // circled times (vector product)
  '⊗': '&#8855;',
  // up tack (orthogonal to, perpendicular)
  '⊥': '&#8869;',
  // dot operator
  '⋅': '&#8901;',
  // vertical ellipsis
  '⋮': '&#8942;',
  // left ceiling (APL upstile)
  '⌈': '&#8968;',
  // right ceiling
  '⌉': '&#8969;',
  // left floor (APL downstile)
  '⌊': '&#8970;',
  // right floor
  '⌋': '&#8971;',
  // left-pointing angle bracket (bra)
  '〈': '&#9001;',
  // right-pointing angle bracket (ket)
  '〉': '&#9002;',
  // lozenge
  '◊': '&#9674;',
  // black spade suit
  '♠': '&#9824;',
  // black club suit (shamrock)
  '♣': '&#9827;',
  // black heart suit (valentine)
  '♥': '&#9829;',
  // black diamond suit
  '♦': '&#9830;',
};