Jump to content

Mazovia encoding

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by DannyS712 (talk | contribs) at 01:21, 30 June 2020 (Disambiguating links to Pi (disambiguation)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Mazovia encoding
KermitMAZOVIA
Alias(es)cp667, cp790, cp991, MAZ
Language(s)Polish
ClassificationExtended ASCII, OEM code page
Based onOEM-US
Other related encoding(s)Fidonet Mazovia (MFD),
Mazovia 157,
FreeDOS-991

Mazovia encoding is used under DOS to represent Polish texts. Basically it is code page 437 with some positions filled with Polish letters. An important feature was that the block graphic characters of code page 437 remained unchanged. In contrast, IBM's later official Central European code page 852 did not preserve all block graphics, causing 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 therefore optimized for that computer's typical peripheral devices, a graphics card with dual switchable graphics, a keyboard using US English and Russian layouts and printers with Polish fonts. In 1986, the Polish National Bank (NBP) adopted the Mazovia encoding as a standard, thereby causing its widespread acceptance and distribution in Poland. They also were instrumental in Ipaco producing compatible computers with Taiwanese components under the direction 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).[1] The same encoding was also called code page 991 (CP991) in some Polish software,[nb 1] 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.[1] FreeDOS has meanwhile introduced support for the original Mazovia encoding under code page 790 (CP790) as well. The Fujitsu DL6400 (Pro) / DL6600 (Pro) printers support the Mazovia encoding as well.[2] This encoding is known as code page 3843 in Star printers.

Character set

Each character is shown with its equivalent Unicode code point.[3] 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 157 (ś is at 9D instead of 9E)
  • Fido Mazovia (ć is at 0x87 instead of 8D and Ć is at 0x80 instead of 0x95)
  • FreeDOS Mazovia (złoty sign at 9B). FreeDOS supports this variant under code page 991, although the original definition of code page 991, which pre-dates FreeDOS, appears to have been identical to code page 667 / 790.

These variants are not fully compliant with the definition of code page 667 / 790 and should therefore not be associated with these numbers.

Code page 667 / 790
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
8_
128
Template:Chset-color-letter|Ç
00C7
Template:Chset-color-letter|ü
00FC
Template:Chset-color-letter|é
00E9
Template:Chset-color-letter|â
00E2
Template:Chset-color-letter|ä
00E4
Template:Chset-color-letter|à
00E0
Template:Chset-color-letter-box|ą
0105
Template:Chset-color-letter|ç
00E7
Template:Chset-color-letter|ê
00EA
Template:Chset-color-letter|ë
00EB
Template:Chset-color-letter|è
00E8
Template:Chset-color-letter|ï
00EF
Template:Chset-color-letter|î
00EE
Template:Chset-color-letter-box|ć
0107
Template:Chset-color-letter|Ä
00C4
Template:Chset-color-letter-box|Ą
0104
9_
144
Template:Chset-color-letter-box|Ę
0118
Template:Chset-color-letter-box|ę
0119
Template:Chset-color-letter-box|ł
0142
Template:Chset-color-letter|ô
00F4
Template:Chset-color-letter|ö
00F6
Template:Chset-color-letter-box|Ć
0106
Template:Chset-color-letter|û
00FB
Template:Chset-color-letter|ù
00F9
Template:Chset-color-letter-box|Ś
015A
Template:Chset-color-letter|Ö
00D6
Template:Chset-color-letter|Ü
00DC
Template:Chset-color-graph|¢
00A2
Template:Chset-color-letter-box|Ł
0141
Template:Chset-color-graph|¥
00A5
Template:Chset-color-letter-box|ś
015B
Template:Chset-color-letter|ƒ
0192
A_
160
Template:Chset-color-letter-box|Ź
0179
Template:Chset-color-letter-box|Ż
017B
Template:Chset-color-letter|ó
00F3
Template:Chset-color-letter-box|Ó
00D3
Template:Chset-color-letter-box|ń
0144
Template:Chset-color-letter-box|Ń
0143
Template:Chset-color-letter-box|ź
017A
Template:Chset-color-letter-box|ż
017C
Template:Chset-color-punct|¿
00BF
Template:Chset-color-graph|
2310
Template:Chset-color-graph|¬
00AC
Template:Chset-color-digit|½
00BD
Template:Chset-color-digit|¼
00BC
Template:Chset-color-punct|¡
00A1
Template:Chset-color-punct|«
00AB
Template:Chset-color-punct|»
00BB
B_
176
Template:Chset-color-graph|
2591
Template:Chset-color-graph|
2592
Template:Chset-color-graph|
2593
Template:Chset-color-graph|
2502
Template:Chset-color-graph|
2524
Template:Chset-color-graph|
2561
Template:Chset-color-graph|
2562
Template:Chset-color-graph|
2556
Template:Chset-color-graph|
2555
Template:Chset-color-graph|
2563
Template:Chset-color-graph|
2551
Template:Chset-color-graph|
2557
Template:Chset-color-graph|
255D
Template:Chset-color-graph|
255C
Template:Chset-color-graph|
255B
Template:Chset-color-graph|
2510
C_
192
Template:Chset-color-graph|
2514
Template:Chset-color-graph|
2534
Template:Chset-color-graph|
252C
Template:Chset-color-graph|
251C
Template:Chset-color-graph|
2500
Template:Chset-color-graph|
253C
Template:Chset-color-graph|
255E
Template:Chset-color-graph|
255F
Template:Chset-color-graph|
255A
Template:Chset-color-graph|
2554
Template:Chset-color-graph|
2569
Template:Chset-color-graph|
2566
Template:Chset-color-graph|
2560
Template:Chset-color-graph|
2550
Template:Chset-color-graph|
256C
Template:Chset-color-graph|
2567
D_
208
Template:Chset-color-graph|
2568
Template:Chset-color-graph|
2564
Template:Chset-color-graph|
2565
Template:Chset-color-graph|
2559
Template:Chset-color-graph|
2558
Template:Chset-color-graph|
2552
Template:Chset-color-graph|
2553
Template:Chset-color-graph|
256B
Template:Chset-color-graph|
256A
Template:Chset-color-graph|
2518
Template:Chset-color-graph|
250C
Template:Chset-color-graph|
2588
Template:Chset-color-graph|
2584
Template:Chset-color-graph|
258C
Template:Chset-color-graph|
2590
Template:Chset-color-graph|
2580
E_
224
Template:Chset-color-letter|α
03B1
Template:Chset-color-letter|ß
00DF
Template:Chset-color-letter|Γ
0393
Template:Chset-color-letter|π
03C0
Template:Chset-color-letter|Σ
03A3
Template:Chset-color-letter|σ
03C3
Template:Chset-color-letter|µ
00B5
Template:Chset-color-letter|τ
03C4
Template:Chset-color-letter|Φ
03A6
Template:Chset-color-letter|Θ
0398
Template:Chset-color-letter|Ω
03A9
Template:Chset-color-letter|δ
03B4
Template:Chset-color-graph|
221E
Template:Chset-color-letter|φ
03C6
Template:Chset-color-letter|ε
03B5
Template:Chset-color-graph|
2229
F_
240
Template:Chset-color-graph|
2261
Template:Chset-color-graph|±
00B1
Template:Chset-color-graph|
2265
Template:Chset-color-graph|
2264
Template:Chset-color-graph|
2320
Template:Chset-color-graph|
2321
Template:Chset-color-graph|÷
00F7
Template:Chset-color-graph|
2248
Template:Chset-color-graph|°
00B0
Template:Chset-color-graph|
2219
Template:Chset-color-punct|·
00B7
Template:Chset-color-graph|
221A
Template:Chset-color-letter|
207F
Template:Chset-color-digit|²
00B2
Template:Chset-color-graph|
25A0
Template:Chset-color-misc|NBSP
00A0

  Letter  Number  Punctuation  Symbol  Other  Undefined  Differences from code page 437

See also

Notes

  1. ^ The Polish text converter PLC, developed by Marcin Gryszkalis between 1997-1999, supports the standard Mazovia encoding under code page 991 as well as under the symbolic handle MAZ. The Fidonet Mazovia encoding is supported under symbolic handle MFD instead.

References

  1. ^ a b Paul, Matthias R. (2001) [1996]. "Specification and reference documentation for NECPINW". NECPINW.CPI - DOS code page switching driver for NEC Pinwriters (2.08 ed.). FILESPEC.TXT from NECPI208.ZIP. Archived from the original on 2017-09-10. Retrieved 2013-04-22.
  2. ^ Fujitsu DL6400/DL6600 Dot Matrix Printer User's Manual (PDF). Fujitsu Limited. April 1994. C147-E015-01EN. Archived (PDF) from the original on 2016-06-14. Retrieved 2016-06-14.
  3. ^ Pinwriter Familie - Pinwriter - Epromsockel - Zusätzliche Zeichensätze / Schriftarten (Printed reference manual for optional font and codepage EPROMs for NEC Pinwriters, including custom variants) (in German) (00 3/93 ed.). NEC Deutschland GmbH. 1993. (NB. Some dot matrix printers of the NEC Pinwriter series, namely the P3200/P3300 (P20/P30), P6200/P6300 (P60/P70), P9300 (P90), P7200/P7300 (P62/P72), P22Q/P32Q, P3800/P3900 (P42Q/P52Q), P1200/P1300 (P2Q/P3Q), P2000 (P2X) and P8000 (P72X), supported the installation of optional font EPROMs, where this encoding was included in ROM #8 "Polish". It could be invoked via escape sequence ESC R (n) with (n) = 21.)