Windows-1252
Windows-1252 or CP-1252 (Windows code page 1252) is a legacy single-byte character encoding that is used by default (as the "ANSI code page") in Microsoft Windows throughout the Americas, Western Europe, Oceania, and much of Africa.[src] Initially the same as ISO 8859-1, it began to diverge starting in Windows 2.0 by adding additional characters in the 0x80 to 0x9F (hex) range (the ISO standards reserve this range for C1 control codes).[src] Notable additional characters include curly quotation marks and all printable characters from ISO 8859-15.[src] It is the most-used single-byte character encoding in the world.[src] (effectively) 9.3% of static web pages are served as Windows-1252 (and even more used of some subtypes or categories, see below).[src] This contrasts a lot with only 0.2% of all websites declared using Windows-1252 even when adding the 0.8% declared to use ISO 8859-1, which is treated as Windows-1252 by all modern browsers (as required by the HTML5 standard ), for a total of 1.0%, explained by the fact most web sites are served programmatically and/or usually with a mix of static pages.[src] Almost all websites now use the multi-byte character encoding UTF-8, another superset of ASCII.[src] Some countries or languages show a higher usage than the global average, in 2026 Brazil according to website use, use is at 1.4%, and in Germany at 2.1%.…[src]
Windows-1252 or CP-1252 (Windows code page 1252) is a legacy single-byte character encoding that is used by default (as the "ANSI code page") in Microsoft Windows throughout the Americas, Western Europe, Oceania, and much of Africa.[src] Initially the same as ISO 8859-1, it began to diverge starting in Windows 2.0 by adding additional characters in the 0x80 to 0x9F (hex) range (the ISO standards reserve this range for C1 control codes).[src] Notable additional characters include curly quotation marks and all printable characters from ISO 8859-15.[src] It is the most-used single-byte character encoding in the world.[src] (effectively) 9.3% of static web pages are served as Windows-1252 (and even more used of some subtypes or categories, see below).[src] This contrasts a lot with only 0.2% of all websites declared using Windows-1252 even when adding the 0.8% declared to use ISO 8859-1, which is treated as Windows-1252 by all modern browsers (as required by the HTML5 standard ), for a total of 1.0%, explained by the fact most web sites are served programmatically and/or usually with a mix of static pages.[src] Almost all websites now use the multi-byte character encoding UTF-8, another superset of ASCII.[src] Some countries or languages show a higher usage than the global average, in 2026 Brazil according to website use, use is at 1.4%, and in Germany at 2.1%.[src] (these are the sums of ISO-8859-1 and CP-1252 declarations).[src] HTML5 is the latest standard that almost all web pages use, but regarding older standards: 6.0% of HTML Transitional web pages use Windows-1252 (HTML Transitional is used by 2.9% of all the websites ).[src] For the obsolete and little used frameset site element using websites (0.2% of all), 12.8% use Windows-1252.[src] So it can be said that these legacy encodings are more used with older technology, and HTML5 mostly eliminate their use, and pre-HTML5-based HTML Transitional and HTML Strict.[src] |link=Curly brackets}} | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |- ![src] | | | | | | | | | | | | | | | | |} According to the information on Microsoft's and the Unicode Consortium's websites, positions 81, 8D, 8F, 90, and 9D are unused; however, the "best fit" mappings and Windows API MultiByteToWideChar map these to the corresponding C1 control codes.[src] === OS/2 extensions === The OS/2 operating system supports an encoding by the name of Code page 1004 (CCSID 1004) or "Windows Extended".[src] This mostly matches code page 1252, with the exception of certain C0 control characters being replaced by diacritic characters.[src] === MS-DOS extensions (rare) === There is a rarely used, but useful, graphics extended code page 1252 where codes 0x00 to 0x1f allow for box drawing as used in applications such as MSDOS Edit and Codeview.[src] One of the applications to use this code page was an Intel Corporation Install/Recovery disk image utility from mid/late 1995.[src] These programs were written for its P6 User Test Program machines (US example ).[src] It was used exclusively in its then EMEA region (Europe, Middle East & Africa).[src] In time the programs were changed to use code page 850.[src]
36 sentences · 36 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Windows-1252." encyclopegia.org, 2026, https://encyclopegia.org/wiki/windows-1252. Accessed 06 December 2026.
Chicago
"Windows-1252." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/windows-1252.
APA
encyclopegia.org. (2026). Windows-1252. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/windows-1252
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON