Concept

Windows-1252

Summary
Windows-1252 or CP-1252 (code page 1252) is a single-byte character encoding of the Latin alphabet (with additions) 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. All modern operating systems, including Windows, now use Unicode code points and text encodings by default, which are portable across all of the world's major languages. Single-byte characters encodings are compact and faster for many common string operations (especially random access), but have circumscribed portability due to the highly restricted character set. Even if extended to single-word encodings to enlarge the supported character set (becoming substantially less compact for Latin languages), legacy encodings rarely support any text processing feature beyond naive string semantics, such as bidirectional text, e.g. when combining Latin-alphabet text and Arabic or Hebrew text in the same string or document. Legacy components of Microsoft Windows originally coded to assume a uniform single-byte string representation commonly retain these limitations regardless of the evolution of the operating system, even if these components remain sufficiently compatible to continue to run in the more sophisticated environment. It is the most-used single-byte character encoding in the world. , 1.4% of all web sites declare ISO 8859-1 which is treated as Windows-1252 by all modern browsers (as demanded by the HTML5 standard), plus 0.3% of all websites declared use of Windows-1252, for a total of 1.7% (and only 16 of the top 1000 websites). Pages declared as ASCII, or a missing or invalid charset, are also assumed to be Windows-1252 by browsers. Depending on the country or language, use can be much higher than the global average, e.g., for Brazil website use is at 9.2%, and in Germany at 3.9% (these are the sums of ISO-8859-1 and CP1252 declarations).
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.