Code page 852

OEM 852 (DOS-Latin 2)
MIME / IANAIBM852
Alias(es)cp852, 852, csPCp852[1]
Language(s)Serbo-Croatian, Slovene, Czech, Slovak, Polish, Romanian, Hungarian
ClassificationOEM code page, extended ASCII
Based onOEM 850 (DOS-Latin 1), OEM 437 (OEM-US)
Transforms / EncodesISO/IEC 8859-2 (reordered)

Code page 852 (CCSID 852) (also known as CP 852, IBM 00852, OEM 852 (Latin II),[2][3] MS-DOS Latin 2[4]) is a code page used under DOS to write Central European languages that use Latin script (such as Serbo-Croatian, Czech, Hungarian, Polish, Romanian or Slovene).[5]

CCSID 9044 is the euro currency update of code page/CCSID 852.[6] Byte AA replaces ¬ with € in that update.[7][8]

Code page 852 (DOS Latin 2) is very different from ISO/IEC 8859-2 (ISO Latin-2), although both are informally referred to as "Latin-2" in different language regions.[9] However, all printable characters from ISO 8859-2 are included, in a different arrangement which preserves a subset of the box-drawing characters of the original DOS code page 437, while sacrificing others (those combining both single and double lining) in order to include more letters with diacritics. This is the same approach taken by code page 850, the equivalent for ISO 8859-1.

This reduced box-drawing support caused display glitches in DOS applications that made use of the box-drawing characters to display a GUI-like surface in text mode (e.g. Norton Commander). Several local, more language-specific encodings were invented to avoid the problem, for example the Kamenický encoding for Czech and Slovak[10] or the Mazovia encoding for Polish

A variant (used by FreeDOS, for example) replaces the not sign (¬) at code point 0xAA with the euro sign (€).

  1. ^ Character Sets, Internet Assigned Numbers Authority (IANA), 2018-12-12
  2. ^ Cite error: The named reference GGDC was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference GGDCOEM was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference DIS was invoked but never defined (see the help page).
  5. ^ "CCSID 852 information document". Archived from the original on 2016-03-27.
  6. ^ "CCSID 9044 information document". Archived from the original on 2016-03-27.
  7. ^ Cite error: The named reference CP852PDF was invoked but never defined (see the help page).
  8. ^ Cite error: The named reference CP852TXT was invoked but never defined (see the help page).
  9. ^ Cite error: The named reference mess1 was invoked but never defined (see the help page).
  10. ^ Cite error: The named reference mess2 was invoked but never defined (see the help page).