Tools

Extended sets, side by side

“Extended ASCII” was never one standard: the same byte means different things in each set. Here are three common ones.

Bytes 0x80–0xFF

Outlined: differs from ISO-8859-1, whose bytes 0x80–0xFF are Unicode U+0080–U+00FF. Each cell links to that byte’s page.

Bytes 0x80 to 0xBF in each set
ByteWindows-1252ISO-8859-1Code page 437
0x80Euro sign (differs from ISO-8859-1)Padding characterCapital letter C with cedilla (differs from ISO-8859-1)
0x81Undefined in Windows-1252 (differs from ISO-8859-1)High octet presetSmall letter u with diaeresis (differs from ISO-8859-1)
0x82Single low-9 quotation mark (differs from ISO-8859-1)Break permitted hereSmall letter e with acute (differs from ISO-8859-1)
0x83Small letter f with hook (differs from ISO-8859-1)No break hereSmall letter a with circumflex (differs from ISO-8859-1)
0x84Double low-9 quotation mark (differs from ISO-8859-1)IndexSmall letter a with diaeresis (differs from ISO-8859-1)
0x85Horizontal ellipsis (differs from ISO-8859-1)Next lineSmall letter a with grave (differs from ISO-8859-1)
0x86Dagger (differs from ISO-8859-1)Start of selected areaSmall letter a with ring above (differs from ISO-8859-1)
0x87Double dagger (differs from ISO-8859-1)End of selected areaSmall letter c with cedilla (differs from ISO-8859-1)
0x88Modifier letter circumflex accent (differs from ISO-8859-1)Character tabulation setSmall letter e with circumflex (differs from ISO-8859-1)
0x89Per mille sign (differs from ISO-8859-1)Character tabulation with justificationSmall letter e with diaeresis (differs from ISO-8859-1)
0x8ACapital letter S with caron (differs from ISO-8859-1)Line tabulation setSmall letter e with grave (differs from ISO-8859-1)
0x8BSingle left-pointing angle quotation mark (differs from ISO-8859-1)Partial line forwardSmall letter i with diaeresis (differs from ISO-8859-1)
0x8CCapital ligature OE (differs from ISO-8859-1)Partial line backwardSmall letter i with circumflex (differs from ISO-8859-1)
0x8DUndefined in Windows-1252 (differs from ISO-8859-1)Reverse line feedSmall letter i with grave (differs from ISO-8859-1)
0x8ECapital letter Z with caron (differs from ISO-8859-1)Single shift twoCapital letter A with diaeresis (differs from ISO-8859-1)
0x8FUndefined in Windows-1252 (differs from ISO-8859-1)Single shift threeCapital letter A with ring above (differs from ISO-8859-1)
0x90Undefined in Windows-1252 (differs from ISO-8859-1)Device control stringCapital letter E with acute (differs from ISO-8859-1)
0x91Left single quotation mark (differs from ISO-8859-1)Private use oneSmall letter ae (differs from ISO-8859-1)
0x92Right single quotation mark (differs from ISO-8859-1)Private use twoCapital letter AE (differs from ISO-8859-1)
0x93Left double quotation mark (differs from ISO-8859-1)Set transmit stateSmall letter o with circumflex (differs from ISO-8859-1)
0x94Right double quotation mark (differs from ISO-8859-1)Cancel characterSmall letter o with diaeresis (differs from ISO-8859-1)
0x95Bullet (differs from ISO-8859-1)Message waitingSmall letter o with grave (differs from ISO-8859-1)
0x96En dash (differs from ISO-8859-1)Start of guarded areaSmall letter u with circumflex (differs from ISO-8859-1)
0x97Em dash (differs from ISO-8859-1)End of guarded areaSmall letter u with grave (differs from ISO-8859-1)
0x98Small tilde (differs from ISO-8859-1)Start of stringSmall letter y with diaeresis (differs from ISO-8859-1)
0x99Trade mark sign (differs from ISO-8859-1)Single graphic character introducerCapital letter O with diaeresis (differs from ISO-8859-1)
0x9ASmall letter s with caron (differs from ISO-8859-1)Single character introducerCapital letter U with diaeresis (differs from ISO-8859-1)
0x9BSingle right-pointing angle quotation mark (differs from ISO-8859-1)Control sequence introducerCent sign (differs from ISO-8859-1)
0x9CSmall ligature oe (differs from ISO-8859-1)String terminatorPound sign (differs from ISO-8859-1)
0x9DUndefined in Windows-1252 (differs from ISO-8859-1)Operating system commandYen sign (differs from ISO-8859-1)
0x9ESmall letter z with caron (differs from ISO-8859-1)Privacy messagePeseta sign (differs from ISO-8859-1)
0x9FCapital letter Y with diaeresis (differs from ISO-8859-1)Application program commandSmall letter f with hook (differs from ISO-8859-1)
0xA0No-break spaceNo-break spaceSmall letter a with acute (differs from ISO-8859-1)
0xA1Inverted exclamation markInverted exclamation markSmall letter i with acute (differs from ISO-8859-1)
0xA2Cent signCent signSmall letter o with acute (differs from ISO-8859-1)
0xA3Pound signPound signSmall letter u with acute (differs from ISO-8859-1)
0xA4Currency signCurrency signSmall letter n with tilde (differs from ISO-8859-1)
0xA5Yen signYen signCapital letter N with tilde (differs from ISO-8859-1)
0xA6Broken barBroken barFeminine ordinal indicator (differs from ISO-8859-1)
0xA7Section signSection signMasculine ordinal indicator (differs from ISO-8859-1)
0xA8DiaeresisDiaeresisInverted question mark (differs from ISO-8859-1)
0xA9Copyright signCopyright signReversed not sign (differs from ISO-8859-1)
0xAAFeminine ordinal indicatorFeminine ordinal indicatorNot sign (differs from ISO-8859-1)
0xABLeft-pointing double angle quotation markLeft-pointing double angle quotation markVulgar fraction one half (differs from ISO-8859-1)
0xACNot signNot signVulgar fraction one quarter (differs from ISO-8859-1)
0xADSoft hyphenSoft hyphenInverted exclamation mark (differs from ISO-8859-1)
0xAERegistered signRegistered signLeft-pointing double angle quotation mark (differs from ISO-8859-1)
0xAFMacronMacronRight-pointing double angle quotation mark (differs from ISO-8859-1)
0xB0Degree signDegree signLight shade (differs from ISO-8859-1)
0xB1Plus-minus signPlus-minus signMedium shade (differs from ISO-8859-1)
0xB2Superscript twoSuperscript twoDark shade (differs from ISO-8859-1)
0xB3Superscript threeSuperscript threeBox drawings light vertical (differs from ISO-8859-1)
0xB4Acute accentAcute accentBox drawings light vertical and left (differs from ISO-8859-1)
0xB5Micro signMicro signBox drawings vertical single and left double (differs from ISO-8859-1)
0xB6Pilcrow signPilcrow signBox drawings vertical double and left single (differs from ISO-8859-1)
0xB7Middle dotMiddle dotBox drawings down double and left single (differs from ISO-8859-1)
0xB8CedillaCedillaBox drawings down single and left double (differs from ISO-8859-1)
0xB9Superscript oneSuperscript oneBox drawings double vertical and left (differs from ISO-8859-1)
0xBAMasculine ordinal indicatorMasculine ordinal indicatorBox drawings double vertical (differs from ISO-8859-1)
0xBBRight-pointing double angle quotation markRight-pointing double angle quotation markBox drawings double down and left (differs from ISO-8859-1)
0xBCVulgar fraction one quarterVulgar fraction one quarterBox drawings double up and left (differs from ISO-8859-1)
0xBDVulgar fraction one halfVulgar fraction one halfBox drawings up double and left single (differs from ISO-8859-1)
0xBEVulgar fraction three quartersVulgar fraction three quartersBox drawings up single and left double (differs from ISO-8859-1)
0xBFInverted question markInverted question markBox drawings light down and left (differs from ISO-8859-1)
Bytes 0xC0 to 0xFF in each set
ByteWindows-1252ISO-8859-1Code page 437
0xC0Capital letter A with graveCapital letter A with graveBox drawings light up and right (differs from ISO-8859-1)
0xC1Capital letter A with acuteCapital letter A with acuteBox drawings light up and horizontal (differs from ISO-8859-1)
0xC2Capital letter A with circumflexCapital letter A with circumflexBox drawings light down and horizontal (differs from ISO-8859-1)
0xC3Capital letter A with tildeCapital letter A with tildeBox drawings light vertical and right (differs from ISO-8859-1)
0xC4Capital letter A with diaeresisCapital letter A with diaeresisBox drawings light horizontal (differs from ISO-8859-1)
0xC5Capital letter A with ring aboveCapital letter A with ring aboveBox drawings light vertical and horizontal (differs from ISO-8859-1)
0xC6Capital letter AECapital letter AEBox drawings vertical single and right double (differs from ISO-8859-1)
0xC7Capital letter C with cedillaCapital letter C with cedillaBox drawings vertical double and right single (differs from ISO-8859-1)
0xC8Capital letter E with graveCapital letter E with graveBox drawings double up and right (differs from ISO-8859-1)
0xC9Capital letter E with acuteCapital letter E with acuteBox drawings double down and right (differs from ISO-8859-1)
0xCACapital letter E with circumflexCapital letter E with circumflexBox drawings double up and horizontal (differs from ISO-8859-1)
0xCBCapital letter E with diaeresisCapital letter E with diaeresisBox drawings double down and horizontal (differs from ISO-8859-1)
0xCCCapital letter I with graveCapital letter I with graveBox drawings double vertical and right (differs from ISO-8859-1)
0xCDCapital letter I with acuteCapital letter I with acuteBox drawings double horizontal (differs from ISO-8859-1)
0xCECapital letter I with circumflexCapital letter I with circumflexBox drawings double vertical and horizontal (differs from ISO-8859-1)
0xCFCapital letter I with diaeresisCapital letter I with diaeresisBox drawings up single and horizontal double (differs from ISO-8859-1)
0xD0Capital letter EthCapital letter EthBox drawings up double and horizontal single (differs from ISO-8859-1)
0xD1Capital letter N with tildeCapital letter N with tildeBox drawings down single and horizontal double (differs from ISO-8859-1)
0xD2Capital letter O with graveCapital letter O with graveBox drawings down double and horizontal single (differs from ISO-8859-1)
0xD3Capital letter O with acuteCapital letter O with acuteBox drawings up double and right single (differs from ISO-8859-1)
0xD4Capital letter O with circumflexCapital letter O with circumflexBox drawings up single and right double (differs from ISO-8859-1)
0xD5Capital letter O with tildeCapital letter O with tildeBox drawings down single and right double (differs from ISO-8859-1)
0xD6Capital letter O with diaeresisCapital letter O with diaeresisBox drawings down double and right single (differs from ISO-8859-1)
0xD7Multiplication signMultiplication signBox drawings vertical double and horizontal single (differs from ISO-8859-1)
0xD8Capital letter O with strokeCapital letter O with strokeBox drawings vertical single and horizontal double (differs from ISO-8859-1)
0xD9Capital letter U with graveCapital letter U with graveBox drawings light up and left (differs from ISO-8859-1)
0xDACapital letter U with acuteCapital letter U with acuteBox drawings light down and right (differs from ISO-8859-1)
0xDBCapital letter U with circumflexCapital letter U with circumflexFull block (differs from ISO-8859-1)
0xDCCapital letter U with diaeresisCapital letter U with diaeresisLower half block (differs from ISO-8859-1)
0xDDCapital letter Y with acuteCapital letter Y with acuteLeft half block (differs from ISO-8859-1)
0xDECapital letter ThornCapital letter ThornRight half block (differs from ISO-8859-1)
0xDFSmall letter sharp sSmall letter sharp sUpper half block (differs from ISO-8859-1)
0xE0Small letter a with graveSmall letter a with graveGreek small letter alpha (differs from ISO-8859-1)
0xE1Small letter a with acuteSmall letter a with acuteSmall letter sharp s (differs from ISO-8859-1)
0xE2Small letter a with circumflexSmall letter a with circumflexGreek capital letter Gamma (differs from ISO-8859-1)
0xE3Small letter a with tildeSmall letter a with tildeGreek small letter pi (differs from ISO-8859-1)
0xE4Small letter a with diaeresisSmall letter a with diaeresisGreek capital letter Sigma (differs from ISO-8859-1)
0xE5Small letter a with ring aboveSmall letter a with ring aboveGreek small letter sigma (differs from ISO-8859-1)
0xE6Small letter aeSmall letter aeMicro sign (differs from ISO-8859-1)
0xE7Small letter c with cedillaSmall letter c with cedillaGreek small letter tau (differs from ISO-8859-1)
0xE8Small letter e with graveSmall letter e with graveGreek capital letter Phi (differs from ISO-8859-1)
0xE9Small letter e with acuteSmall letter e with acuteGreek capital letter Theta (differs from ISO-8859-1)
0xEASmall letter e with circumflexSmall letter e with circumflexGreek capital letter Omega (differs from ISO-8859-1)
0xEBSmall letter e with diaeresisSmall letter e with diaeresisGreek small letter delta (differs from ISO-8859-1)
0xECSmall letter i with graveSmall letter i with graveInfinity (differs from ISO-8859-1)
0xEDSmall letter i with acuteSmall letter i with acuteGreek small letter phi (differs from ISO-8859-1)
0xEESmall letter i with circumflexSmall letter i with circumflexGreek small letter epsilon (differs from ISO-8859-1)
0xEFSmall letter i with diaeresisSmall letter i with diaeresisIntersection (differs from ISO-8859-1)
0xF0Small letter ethSmall letter ethIdentical to (differs from ISO-8859-1)
0xF1Small letter n with tildeSmall letter n with tildePlus-minus sign (differs from ISO-8859-1)
0xF2Small letter o with graveSmall letter o with graveGreater-than or equal to (differs from ISO-8859-1)
0xF3Small letter o with acuteSmall letter o with acuteLess-than or equal to (differs from ISO-8859-1)
0xF4Small letter o with circumflexSmall letter o with circumflexTop half integral (differs from ISO-8859-1)
0xF5Small letter o with tildeSmall letter o with tildeBottom half integral (differs from ISO-8859-1)
0xF6Small letter o with diaeresisSmall letter o with diaeresisDivision sign (differs from ISO-8859-1)
0xF7Division signDivision signAlmost equal to (differs from ISO-8859-1)
0xF8Small letter o with strokeSmall letter o with strokeDegree sign (differs from ISO-8859-1)
0xF9Small letter u with graveSmall letter u with graveBullet operator (differs from ISO-8859-1)
0xFASmall letter u with acuteSmall letter u with acuteMiddle dot (differs from ISO-8859-1)
0xFBSmall letter u with circumflexSmall letter u with circumflexSquare root (differs from ISO-8859-1)
0xFCSmall letter u with diaeresisSmall letter u with diaeresisSuperscript small letter n (differs from ISO-8859-1)
0xFDSmall letter y with acuteSmall letter y with acuteSuperscript two (differs from ISO-8859-1)
0xFESmall letter thornSmall letter thornBlack square (differs from ISO-8859-1)
0xFFSmall letter y with diaeresisSmall letter y with diaeresisNo-break space (differs from ISO-8859-1)

Recognising mojibake

Mojibake is text decoded with the wrong character set. The commonest kind is UTF-8 read as Windows-1252 or ISO-8859-1. UTF-8 writes every non-ASCII character as two to four bytes, all of them 0x80 or above, and a single-byte set shows each of those bytes as a character of its own.

UTF-8 characters as they appear when read with a single-byte set
IntendedUTF-8 bytesRead as Windows-1252Read as code page 437
’E2 80 99’ΓÇÖ
“E2 80 9C“ΓÇ£
—E2 80 94—ΓÇö
…E2 80 A6…ΓǪ
€E2 82 AC€Γé¼
éC3 A9é├⌐
üC3 BCü├╝
  • à or  plus one more character is a two-byte UTF-8 character, such as an accented letter: é becomes é.
  • †plus one more character is a three-byte UTF-8 character, usually punctuation from a word processor (curly quotes, dashes, the ellipsis): ’ becomes ’.
  • � (U+FFFD, the replacement character) is usually the opposite mistake: Windows-1252 or ISO-8859-1 text read as UTF-8, where bytes that are not valid UTF-8 were replaced.

Fix it where the text was decoded, by reading the original bytes with the right set. Search-and-replace on the damaged text only fixes the characters you think of.