Code page 850

Code page 850 (CCSID 850) (also known as CP 850, IBM 00850, OEM 850, DOS Latin 1 ) is a code page used under DOS operating systems in Western Europe. Depending on the country setting and system configuration, code page 850 is the primary code page and default OEM code page in many countries, including various English-speaking locales (e.g. in the United Kingdom, Ireland, and Canada), whilst other English-speaking locales (like the United States) default to the hardware code page 437.

Code page 850 differs from code page 437 in that many of the box-drawing characters, Greek letters, and various symbols were replaced with additional Latin letters with diacritics, thus greatly improving support for Western European languages (all characters from ISO 8859-1 are included). At the same time, the changes frequently caused display glitches with programs that made use of the box-drawing characters to display a GUI-like surface in text mode.

After the DOS era, successor operating systems largely replaced code page 850 with Windows-1252, later UCS-2 and UTF-16, and finally UTF-8. However, legacy applications, especially command-line programs, may still depend on support for older code pages.

Character set
Each non-ASCII character appears with its equivalent Unicode code-point. Differences from code page 437 are limited to the second half of the table, the first half being the same.

{{legend|#FFB|Differences from code page 437}}

Code page 858
In 1998, code page 858 (CCSID 858) (also known as CP 858, IBM 00858, OEM 858 ) was derived from this code page by changing code point 213 (D5hex) from a dotless i $⟨ı⟩$ to the euro sign $⟨€⟩$. Unlike most code pages modified to support the euro sign, the generic currency sign at CFhex was not chosen as the character to replace (compare ISO-8859-15 (from ISO-8859-1), code pages 808 (from 866), 848 (from 1125), 849 (from 1131) and 872 (from 855), ISO-IR-205 (from ISO-8859-4), ISO-IR-206 (from ISO-8859-13), and the changes to MacRoman and MacCyrillic).

Instead of adding support for the new code page 858, IBM's PC DOS 2000, also released in 1998, changed the definition of the existing code page 850 to what IBM called modified code page 850 to include the euro sign at code point 213. The reason for this might have been due to restrictions in MS-DOS/PC DOS, which limited .CPI files to 64 KB in size or about six codepages maximum. Adding support for codepage 858 might have meant to drop another (e.g. codepage 850) at the same time, which might not have been a viable solution at that time, given that some applications were hard-wired to use codepage 850. More recent IBM/MS products implemented codepage 858 under its own ID.

Code page 1108
Code page 1108 (DITROFF Base Compatibility) is an extension of this codepage which alters some code points in the range 0–32 from their definitions in Code page 437. DITROFF (device independent troff) is an intermediate format of the standard Unix text formatter Troff.

{{legend|#FFB|Differences from Code page 437}}

Code page 1109
Code page 1109 (DITROFF Specials Compatibility) contains characters not available in Code page 1108.

Code page 1044
Code page 1044 (CCSID 1044) is a code page used under DOS to use in shipping labels. It is a subset of Code page 850.

Each character appears with its equivalent Unicode code-point.

Code page 1034
Code page 1034 (CCSID 1034) is a code page used under DOS to use in shipping labels. It is the second set used after code page 1044. This is the code page with the fewest characters.

Each character appears with its equivalent Unicode code-point.

Code page 906
Code page 906 (CCSID 906) is a code page used by the IBM 3812, like code page 907. It is a modification of Code page 850.

Each character appears with its equivalent Unicode code-point. {{legend|#FFD|Differences from code page 850}}