ANSI character set and equivalent Unicode and HTML characters (2024)

The ANSI set of 217 characters, also known as Windows-1252, was the standard for the core fonts supplied with US versions of Microsoft Windows up to and including Windows 95 and Windows NT 4. During the lifetime of those two products, Microsoft added the euro currency symbol bringing the number of characters to 218, and introduced a new core set of Pan-European fonts containing the WGL4 (Windows Glyph List 4) character set, with 652 characters.

If you use an old, non-Unicode version of Windows that was designed for a non-Latin alphabet such as Arabic, Cyrillic, Greek, Hebrew or Thai to view a document that has been typed using the ANSI character set, then characters from these languages may replace some of those in the 128–255 range; this problem has mostly been resolved now that Unicode is widely used, because it provides a unique numeric identifier for each character. There were similar problems when transferring ANSI documents to DOS or Macintosh computers, because DOS and MacRoman arrange characters differently in the 128–255 range.

ANSI characters 32 to 127 correspond to those in the 7-bit ASCII character set, which forms the Basic Latin Unicode character range. Characters 160–255 correspond to those in the Latin-1 Supplement Unicode character range. Positions 128–159 in Latin-1 Supplement are reserved for controls, but most of them are used for printable characters in ANSI; the Unicode equivalents are noted in the table below. Entries in the “Entity” column are character entity references that can be used in HTML and should be interpreted correctly by Web browsers that support HTML 4.0.

The characters that appear in the first column of the following table are generated from Unicode numeric character references, and so they should appear correctly in any Web browser that supports Unicode and that has suitable fonts available, regardless of the operating system.

CharacterANSI
NumberUnicode
NumberANSI
HexUnicode
HexHTML 4.0
EntityUnicode NameUnicode Range‘ ’32320x20U+0020spaceBasic Latin!33330x21U+0021exclamation markBasic Latin"34340x22U+0022&quot;quotation markBasic Latin#35350x23U+0023number signBasic Latin$36360x24U+0024dollar signBasic Latin%37370x25U+0025percent signBasic Latin&38380x26U+0026&amp;ampersandBasic Latin'39390x27U+0027apostropheBasic Latin(40400x28U+0028left parenthesisBasic Latin)41410x29U+0029right parenthesisBasic Latin*42420x2AU+002AasteriskBasic Latin+43430x2BU+002Bplus signBasic Latin,44440x2CU+002CcommaBasic Latin-45450x2DU+002Dhyphen-minusBasic Latin.46460x2EU+002Efull stopBasic Latin/47470x2FU+002FsolidusBasic Latin048480x30U+0030digit zeroBasic Latin149490x31U+0031digit oneBasic Latin250500x32U+0032digit twoBasic Latin351510x33U+0033digit threeBasic Latin452520x34U+0034digit fourBasic Latin553530x35U+0035digit fiveBasic Latin654540x36U+0036digit sixBasic Latin755550x37U+0037digit sevenBasic Latin856560x38U+0038digit eightBasic Latin957570x39U+0039digit nineBasic Latin:58580x3AU+003AcolonBasic Latin;59590x3BU+003BsemicolonBasic Latin<60600x3CU+003C&lt;less-than signBasic Latin=61610x3DU+003Dequals signBasic Latin>62620x3EU+003E&gt;greater-than signBasic Latin?63630x3FU+003Fquestion markBasic Latin@64640x40U+0040commercial atBasic LatinA65650x41U+0041Latin capital letter ABasic LatinB66660x42U+0042Latin capital letter BBasic LatinC67670x43U+0043Latin capital letter CBasic LatinD68680x44U+0044Latin capital letter DBasic LatinE69690x45U+0045Latin capital letter EBasic LatinF70700x46U+0046Latin capital letter FBasic LatinG71710x47U+0047Latin capital letter GBasic LatinH72720x48U+0048Latin capital letter HBasic LatinI73730x49U+0049Latin capital letter IBasic LatinJ74740x4AU+004ALatin capital letter JBasic LatinK75750x4BU+004BLatin capital letter KBasic LatinL76760x4CU+004CLatin capital letter LBasic LatinM77770x4DU+004DLatin capital letter MBasic LatinN78780x4EU+004ELatin capital letter NBasic LatinO79790x4FU+004FLatin capital letter OBasic LatinP80800x50U+0050Latin capital letter PBasic LatinQ81810x51U+0051Latin capital letter QBasic LatinR82820x52U+0052Latin capital letter RBasic LatinS83830x53U+0053Latin capital letter SBasic LatinT84840x54U+0054Latin capital letter TBasic LatinU85850x55U+0055Latin capital letter UBasic LatinV86860x56U+0056Latin capital letter VBasic LatinW87870x57U+0057Latin capital letter WBasic LatinX88880x58U+0058Latin capital letter XBasic LatinY89890x59U+0059Latin capital letter YBasic LatinZ90900x5AU+005ALatin capital letter ZBasic Latin[91910x5BU+005Bleft square bracketBasic Latin\92920x5CU+005Creverse solidusBasic Latin]93930x5DU+005Dright square bracketBasic Latin^94940x5EU+005Ecircumflex accentBasic Latin_95950x5FU+005Flow lineBasic Latin`96960x60U+0060grave accentBasic Latina97970x61U+0061Latin small letter aBasic Latinb98980x62U+0062Latin small letter bBasic Latinc99990x63U+0063Latin small letter cBasic Latind1001000x64U+0064Latin small letter dBasic Latine1011010x65U+0065Latin small letter eBasic Latinf1021020x66U+0066Latin small letter fBasic Lating1031030x67U+0067Latin small letter gBasic Latinh1041040x68U+0068Latin small letter hBasic Latini1051050x69U+0069Latin small letter iBasic Latinj1061060x6AU+006ALatin small letter jBasic Latink1071070x6BU+006BLatin small letter kBasic Latinl1081080x6CU+006CLatin small letter lBasic Latinm1091090x6DU+006DLatin small letter mBasic Latinn1101100x6EU+006ELatin small letter nBasic Latino1111110x6FU+006FLatin small letter oBasic Latinp1121120x70U+0070Latin small letter pBasic Latinq1131130x71U+0071Latin small letter qBasic Latinr1141140x72U+0072Latin small letter rBasic Latins1151150x73U+0073Latin small letter sBasic Latint1161160x74U+0074Latin small letter tBasic Latinu1171170x75U+0075Latin small letter uBasic Latinv1181180x76U+0076Latin small letter vBasic Latinw1191190x77U+0077Latin small letter wBasic Latinx1201200x78U+0078Latin small letter xBasic Latiny1211210x79U+0079Latin small letter yBasic Latinz1221220x7AU+007ALatin small letter zBasic Latin{1231230x7BU+007Bleft curly bracketBasic Latin|1241240x7CU+007Cvertical lineBasic Latin}1251250x7DU+007Dright curly bracketBasic Latin~1261260x7EU+007EtildeBasic Latin1271270x7FU+007F(not used)€12883640x80U+20AC&euro;euro signCurrency Symbols1291290x81U+0081(not used)‚13082180x82U+201A&sbquo;single low-9 quotation markGeneral Punctuationƒ1314020x83U+0192&fnof;Latin small letter f with hookLatin Extended-B„13282220x84U+201E&bdquo;double low-9 quotation markGeneral Punctuation…13382300x85U+2026&hellip;horizontal ellipsisGeneral Punctuation†13482240x86U+2020&dagger;daggerGeneral Punctuation‡13582250x87U+2021&Dagger;double daggerGeneral Punctuationˆ1367100x88U+02C6&circ;modifier letter circumflex accentSpacing Modifier Letters‰13782400x89U+2030&permil;per mille signGeneral PunctuationŠ1383520x8AU+0160&Scaron;Latin capital letter S with caronLatin Extended-A‹13982490x8BU+2039&lsaquo;single left-pointing angle quotation markGeneral PunctuationŒ1403380x8CU+0152&OElig;Latin capital ligature OELatin Extended-A1411410x8DU+008D(not used)Ž1423810x8EU+017DLatin capital letter Z with caronLatin Extended-A1431430x8FU+008F(not used)1441440x90U+0090(not used)‘14582160x91U+2018&lsquo;left single quotation markGeneral Punctuation’14682170x92U+2019&rsquo;right single quotation markGeneral Punctuation“14782200x93U+201C&ldquo;left double quotation markGeneral Punctuation”14882210x94U+201D&rdquo;right double quotation markGeneral Punctuation•14982260x95U+2022&bull;bulletGeneral Punctuation–15082110x96U+2013&ndash;en dashGeneral Punctuation—15182120x97U+2014&mdash;em dashGeneral Punctuation˜1527320x98U+02DC&tilde;small tildeSpacing Modifier Letters™15384820x99U+2122&trade;trade mark signLetterlike Symbolsš1543530x9AU+0161&scaron;Latin small letter s with caronLatin Extended-A›15582500x9BU+203A&rsaquo;single right-pointing angle quotation markGeneral Punctuationœ1563390x9CU+0153&oelig;Latin small ligature oeLatin Extended-A1571570x9DU+009D(not used)ž1583820x9EU+017ELatin small letter z with caronLatin Extended-AŸ1593760x9FU+0178&Yuml;Latin capital letter Y with diaeresisLatin Extended-A1601600xA0U+00A0&nbsp;no-break spaceLatin-1 Supplement¡1611610xA1U+00A1&iexcl;inverted exclamation markLatin-1 Supplement¢1621620xA2U+00A2&cent;cent signLatin-1 Supplement£1631630xA3U+00A3&pound;pound signLatin-1 Supplement¤1641640xA4U+00A4&curren;currency signLatin-1 Supplement¥1651650xA5U+00A5&yen;yen signLatin-1 Supplement¦1661660xA6U+00A6&brvbar;broken barLatin-1 Supplement§1671670xA7U+00A7&sect;section signLatin-1 Supplement¨1681680xA8U+00A8&uml;diaeresisLatin-1 Supplement©1691690xA9U+00A9&copy;copyright signLatin-1 Supplementª1701700xAAU+00AA&ordf;feminine ordinal indicatorLatin-1 Supplement«1711710xABU+00AB&laquo;left-pointing double angle quotation markLatin-1 Supplement¬1721720xACU+00AC&not;not signLatin-1 Supplement­1731730xADU+00AD&shy;soft hyphenLatin-1 Supplement®1741740xAEU+00AE&reg;registered signLatin-1 Supplement¯1751750xAFU+00AF&macr;macronLatin-1 Supplement°1761760xB0U+00B0&deg;degree signLatin-1 Supplement±1771770xB1U+00B1&plusmn;plus-minus signLatin-1 Supplement²1781780xB2U+00B2&sup2;superscript twoLatin-1 Supplement³1791790xB3U+00B3&sup3;superscript threeLatin-1 Supplement´1801800xB4U+00B4&acute;acute accentLatin-1 Supplementµ1811810xB5U+00B5&micro;micro signLatin-1 Supplement¶1821820xB6U+00B6&para;pilcrow signLatin-1 Supplement·1831830xB7U+00B7&middot;middle dotLatin-1 Supplement¸1841840xB8U+00B8&cedil;cedillaLatin-1 Supplement¹1851850xB9U+00B9&sup1;superscript oneLatin-1 Supplementº1861860xBAU+00BA&ordm;masculine ordinal indicatorLatin-1 Supplement»1871870xBBU+00BB&raquo;right-pointing double angle quotation markLatin-1 Supplement¼1881880xBCU+00BC&frac14;vulgar fraction one quarterLatin-1 Supplement½1891890xBDU+00BD&frac12;vulgar fraction one halfLatin-1 Supplement¾1901900xBEU+00BE&frac34;vulgar fraction three quartersLatin-1 Supplement¿1911910xBFU+00BF&iquest;inverted question markLatin-1 SupplementÀ1921920xC0U+00C0&Agrave;Latin capital letter A with graveLatin-1 SupplementÁ1931930xC1U+00C1&Aacute;Latin capital letter A with acuteLatin-1 SupplementÂ1941940xC2U+00C2&Acirc;Latin capital letter A with circumflexLatin-1 SupplementÃ1951950xC3U+00C3&Atilde;Latin capital letter A with tildeLatin-1 SupplementÄ1961960xC4U+00C4&Auml;Latin capital letter A with diaeresisLatin-1 SupplementÅ1971970xC5U+00C5&Aring;Latin capital letter A with ring aboveLatin-1 SupplementÆ1981980xC6U+00C6&AElig;Latin capital letter AELatin-1 SupplementÇ1991990xC7U+00C7&Ccedil;Latin capital letter C with cedillaLatin-1 SupplementÈ2002000xC8U+00C8&Egrave;Latin capital letter E with graveLatin-1 SupplementÉ2012010xC9U+00C9&Eacute;Latin capital letter E with acuteLatin-1 SupplementÊ2022020xCAU+00CA&Ecirc;Latin capital letter E with circumflexLatin-1 SupplementË2032030xCBU+00CB&Euml;Latin capital letter E with diaeresisLatin-1 SupplementÌ2042040xCCU+00CC&Igrave;Latin capital letter I with graveLatin-1 SupplementÍ2052050xCDU+00CD&Iacute;Latin capital letter I with acuteLatin-1 SupplementÎ2062060xCEU+00CE&Icirc;Latin capital letter I with circumflexLatin-1 SupplementÏ2072070xCFU+00CF&Iuml;Latin capital letter I with diaeresisLatin-1 SupplementÐ2082080xD0U+00D0&ETH;Latin capital letter EthLatin-1 SupplementÑ2092090xD1U+00D1&Ntilde;Latin capital letter N with tildeLatin-1 SupplementÒ2102100xD2U+00D2&Ograve;Latin capital letter O with graveLatin-1 SupplementÓ2112110xD3U+00D3&Oacute;Latin capital letter O with acuteLatin-1 SupplementÔ2122120xD4U+00D4&Ocirc;Latin capital letter O with circumflexLatin-1 SupplementÕ2132130xD5U+00D5&Otilde;Latin capital letter O with tildeLatin-1 SupplementÖ2142140xD6U+00D6&Ouml;Latin capital letter O with diaeresisLatin-1 Supplement×2152150xD7U+00D7&times;multiplication signLatin-1 SupplementØ2162160xD8U+00D8&Oslash;Latin capital letter O with strokeLatin-1 SupplementÙ2172170xD9U+00D9&Ugrave;Latin capital letter U with graveLatin-1 SupplementÚ2182180xDAU+00DA&Uacute;Latin capital letter U with acuteLatin-1 SupplementÛ2192190xDBU+00DB&Ucirc;Latin capital letter U with circumflexLatin-1 SupplementÜ2202200xDCU+00DC&Uuml;Latin capital letter U with diaeresisLatin-1 SupplementÝ2212210xDDU+00DD&Yacute;Latin capital letter Y with acuteLatin-1 SupplementÞ2222220xDEU+00DE&THORN;Latin capital letter ThornLatin-1 Supplementß2232230xDFU+00DF&szlig;Latin small letter sharp sLatin-1 Supplementà2242240xE0U+00E0&agrave;Latin small letter a with graveLatin-1 Supplementá2252250xE1U+00E1&aacute;Latin small letter a with acuteLatin-1 Supplementâ2262260xE2U+00E2&acirc;Latin small letter a with circumflexLatin-1 Supplementã2272270xE3U+00E3&atilde;Latin small letter a with tildeLatin-1 Supplementä2282280xE4U+00E4&auml;Latin small letter a with diaeresisLatin-1 Supplementå2292290xE5U+00E5&aring;Latin small letter a with ring aboveLatin-1 Supplementæ2302300xE6U+00E6&aelig;Latin small letter aeLatin-1 Supplementç2312310xE7U+00E7&ccedil;Latin small letter c with cedillaLatin-1 Supplementè2322320xE8U+00E8&egrave;Latin small letter e with graveLatin-1 Supplementé2332330xE9U+00E9&eacute;Latin small letter e with acuteLatin-1 Supplementê2342340xEAU+00EA&ecirc;Latin small letter e with circumflexLatin-1 Supplementë2352350xEBU+00EB&euml;Latin small letter e with diaeresisLatin-1 Supplementì2362360xECU+00EC&igrave;Latin small letter i with graveLatin-1 Supplementí2372370xEDU+00ED&iacute;Latin small letter i with acuteLatin-1 Supplementî2382380xEEU+00EE&icirc;Latin small letter i with circumflexLatin-1 Supplementï2392390xEFU+00EF&iuml;Latin small letter i with diaeresisLatin-1 Supplementð2402400xF0U+00F0&eth;Latin small letter ethLatin-1 Supplementñ2412410xF1U+00F1&ntilde;Latin small letter n with tildeLatin-1 Supplementò2422420xF2U+00F2&ograve;Latin small letter o with graveLatin-1 Supplementó2432430xF3U+00F3&oacute;Latin small letter o with acuteLatin-1 Supplementô2442440xF4U+00F4&ocirc;Latin small letter o with circumflexLatin-1 Supplementõ2452450xF5U+00F5&otilde;Latin small letter o with tildeLatin-1 Supplementö2462460xF6U+00F6&ouml;Latin small letter o with diaeresisLatin-1 Supplement÷2472470xF7U+00F7&divide;division signLatin-1 Supplementø2482480xF8U+00F8&oslash;Latin small letter o with strokeLatin-1 Supplementù2492490xF9U+00F9&ugrave;Latin small letter u with graveLatin-1 Supplementú2502500xFAU+00FA&uacute;Latin small letter u with acuteLatin-1 Supplementû2512510xFBU+00FB&ucirc;Latin small letter with circumflexLatin-1 Supplementü2522520xFCU+00FC&uuml;Latin small letter u with diaeresisLatin-1 Supplementý2532530xFDU+00FD&yacute;Latin small letter y with acuteLatin-1 Supplementþ2542540xFEU+00FE&thorn;Latin small letter thornLatin-1 Supplementÿ2552550xFFU+00FF&yuml;Latin small letter y with diaeresisLatin-1 Supplement

If you use old, pre-Unicode Arabic, Greek, Hebrew, Russian or Thai versions of Microsoft Windows to view a file that uses Latin script and includes accented characters, then the accented characters may be replaced or omitted. For example:

This happens because the characters for these non-Latin scripts are coded to the same numbers as the accented Latin characters in the ANSI character set; this problem has largely been resolved now that Unicode has become widely used, because it provides a unique numeric identifier for each character.

ANSI character set and equivalent Unicode and HTML characters (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5377

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.