Mazovia encoding is a character set used under DOS to represent Polish text. The character set derives from code page 437, with specific positions modified to accommodate Polish letters. Notably, the Mazovia encoding maintains the block graphic characters from code page 437, distinguishing it from IBM's later official Central European code page 852, which failed to preserve all block graphics, leading to incorrect display in programs such as Norton Commander.

The Mazovia encoding was designed in 1984 by Jan Klimowicz of IMM[pl]. It was designed as part of a project to develop and produce a Polish IBM PC clone codenamed "Mazovia 1016[pl]". The code page was specifically optimized for the peripheral devices commonly used with the Mazovia 1016 computer, including a graphics card with dual switchable graphics, a keyboard with US English and Russian layouts, and printers with Polish fonts. The Mazovia encoding gained widespread acceptance and distribution in Poland when the Polish National Bank (NBP) adopted it as a standard in 1986. The NBP played a significant role in facilitating the production of compatible computers by Ipaco, which utilized Taiwanese components under the guidance of Zbigniew Jakubas[pl] and Krzysztof Sochacki.

Some ambiguity exists in the official code page assignment for the Mazovia encoding:

PTS-DOS and S/DOS support this encoding under code page 667 (CP667). The same encoding was also called code page 991 (CP991) in some Polish software, however, the FreeDOS implementation of code page 991 seems not to be identical to this original encoding. The DOS code page switching file NECPINW.CPI for NEC Pinwriters supports the Mazovia encoding under both code pages 667 and 991. FreeDOS has meanwhile introduced support for a variant of the Mazovia encoding under code page 790 (CP790) as well. The Fujitsu DL6400 (Pro) / DL6600 (Pro) printers support the Mazovia encoding as well. This encoding is known as code page 3843 in Star printers.

Character set

Each character is shown with its equivalent Unicode code point. Only the second half of the table (128–255) is shown, all of the first half (0–127) being the same as ASCII and code page 437.

Several variants of this encoding exists:

  • Mazovia with curly quotation marks ( is at 9D and is at A9). FreeDOS supports this variant under code page 790.
  • Mazovia 157 (ś is at 9D instead of 9E)
  • Fido Mazovia (ć is at 0x87 instead of 8D and Ć is at 0x80 instead of 0x95)
  • zł Mazovia (złoty sign at 0x9B, like in the original ROM of the Mazovia 1016 computer). This variant was also supported by EGAPL v3.2, a DOS TSR providing polish glyphs that was popular in Poland in the 90's. FreeDOS supports this variant under code page 991 (which also has § (section sign) at 0xA8), although the original definition of code page 991, which pre-dates FreeDOS, appears to have been identical to code page 667.

These variants are not fully compliant with the definition of code page 667 and should therefore not be associated with this number.

Code page 667
0123456789ABCDEF
8x 128Ç00C7ü00FCé00E9â00E2ä00E4à00E0ą0105ç00E7ê00EAë00EBè00E8ï00EFî00EEć0107Ä00C4Ą0104
9x 144Ę0118ę0119ł0142ô00F4ö00F6Ć0106û00FBù00F9Ś015AÖ00D6Ü00DC¢00A2Ł0141¥00A5ś015Bƒ0192
Ax 160Ź0179Ż017Bó00F3Ó00D3ń0144Ń0143ź017Aż017C¿00BF2310¬00AC½00BD¼00BC¡00A1«00AB»00BB
Bx 176259125922593250225242561256225562555256325512557255D255C255B2510
Cx 19225142534252C251C2500253C255E255F255A25542569256625602550256C2567
Dx 2082568256425652559255825522553256B256A2518250C25882584258C25902580
Ex 224α03B1ß00DFΓ0393π03C0Σ03A3σ03C3µ00B5τ03C4Φ03A6Θ0398Ω03A9δ03B4221Eφ03C6ε03B52229
Fx 2402261±00B12265226423202321÷00F72248°00B02219·00B7221A207F²00B225A0NBSP

See also

Notes