Windows-1252

The legacy components of Microsoft Windows in English and some other Western languages use, by default, an encoding that is a superset of ISO/IEC 8859-1, but differs from ISO-8859-1, using displayable characters rather than control characters in the 0x80 to 0x9F range. This encoding is known to Windows by the code page number 1252, IANA-approved name Windows-1252.

Many web browsers treat ISO-8859-1 as Windows-1252 (the extra control codes in ISO-8859-1 are forbidden in HTML anyway), and so codes from it are often seen in web pages that declare their encoding as ISO-8859-1.

A popular misconception is that ANSI is synonymous with this code page. In fact Windows uses ANSI to refer to the system's ANSI code page, which will be 1252 only in the English versions and in some other Western European locale versions.

The following table shows Windows-1252, with changes from ISO-8859-1 highlighted:

Windows-1252 (CP1252)
x0x1x2x3x4x5x6x7x8x9xAxBxCxDxExF
0xNULSOHSTXETXEOTENQACKBELBSTABLFVTFFCRSOSI
1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS
2xSP!"#$%&'()*+,-./
3x0123456789:;<=>?
4x@ABCDEFGHIJKLMNO
5xPQRSTUVWXYZ[\]^_
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~DEL
8x  ƒ ˆ Š Œ   Ž  
9x   ˜ š œ  žŸ
Ax NBSP ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ SHY ® ¯
Bx ° ± ² ³ ´ µ · ¸ ¹ º » ¼ ½ ¾ ¿
CxÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
DxÐÑÒÓÔÕÖרÙÚÛÜÝÞß
Exàáâãäåæçèéêëìíîï
Fxðñòóôõö÷øùúûüýþÿ

According to the information on Microsoft's and the Unicode Consortium's websites positions 81, 8D, 8F, 90, and 9D are unused. However the Windows API call for converting from codepages to Unicode maps these to the corresponding C1 control codes. The euro character at position 80 was not present in earlier versions of this code page, nor were the S and Z with caron (hacek).