Windows-1252

Windows-1252
MIME / IANAwindows-1252[1]
Alias(es)cp1252 (code page 1252)
Language(s)All supported by ISO/IEC 8859-1 plus full support for French and Finnish and ligature forms for English; e.g. Danish (except for a rare exceptional letter), Irish, Italian, Norwegian, Portuguese, Spanish, Swedish, German (missing uppercase ), Icelandic, Faroese, Luxembourgish, Albanian, Estonian, Swahili, Tswana, Catalan, Basque, Occitan, Rotokas, Toki Pona, Lojban, Romansh, Dutch (except the IJ/ij character, substituted by IJ/ij or ÿ), and Slovene (except the č character, substituted by ç).
Created byMicrosoft
StandardWHATWG Encoding Standard
Classificationextended ASCII, Windows-125x
ExtendsISO 8859-1 (excluding C1 controls)
Transforms / EncodesISO 8859-15

Windows-1252 or CP-1252 (code page 1252) is a single-byte character encoding of the Latin alphabet that was used by default in Microsoft Windows for English and many Romance and Germanic languages including Spanish, Portuguese, French, and German (though missing uppercase ). This character-encoding scheme is used throughout the Americas, Western Europe, Oceania, and much of Africa.

After the DOS era, it replaced code page 850, and was replaced by UCS-2 and UTF-16,[a] and finally UTF-8.

It is the most-used single-byte character encoding in the world. As of April 2024, 1.2%[2] of all web sites declare ISO 8859-1 which is treated as Windows-1252 by all modern browsers (as demanded by the HTML5 standard[3]), plus 0.3% of all websites declared use of Windows-1252,[2][4] for a total of 1.5% (and only 15 of the top 1000 websites[5]).

Depending on the country or language, in 2024, use (on websites at least) can be much higher than the global average, e.g. (including Windows-1252), for Brazil according to website use, use is at 3.8%,[6] and in Germany at 2.8%.[7][8] (these are the sums of ISO-8859-1 and CP-1252 declarations).

  1. ^ Character Sets, Internet Assigned Numbers Authority (IANA), 2018-12-12
  2. ^ a b "Historical trends in the usage statistics of character encodings for websites, December 2023". w3techs.com. Retrieved 2023-12-01.
  3. ^ Cite error: The named reference WHATWG was invoked but never defined (see the help page).
  4. ^ "Frequenty Asked Questions". w3techs.com.
  5. ^ "Usage Survey of Character Encodings broken down by Ranking". w3techs.com. Retrieved 2024-04-29.
  6. ^ "Distribution of Character Encodings among websites that use Brazil". W3Techs. Archived from the original on 4 Apr 2024. Retrieved 2024-04-29.
  7. ^ "Distribution of Character Encodings among websites that use .de". W3Techs. Archived from the original on 4 Apr 2024. Retrieved 2024-04-29.
  8. ^ "Distribution of Character Encodings among websites that use German". w3techs.com. Retrieved 2023-01-16.


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).


© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search