Mazovia encoding

{{Short description|Encoding used under DOS to represent Polish texts}}

{{Use dmy dates|date=December 2019|cs1-dates=y}}

{{infobox character encoding

| name = Mazovia encoding

| kermit = MAZOVIA

| alias = cp667, cp790, cp991, MAZ

| lang = Polish

| basedon = OEM-US

| classification = Extended ASCII, OEM code page

| otherrelated = Fidonet Mazovia (MFD),
Mazovia 157,
FreeDOS-991

}}

{{Redir|CP790|the printer|Canon SELPHY CP790}}

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 {{Interlanguage link multi|Instytut Maszyn Matematycznych{{!}}IMM|pl|3=Instytut Maszyn Matematycznych}}. It was designed as part of a project to develop and produce a Polish IBM PC clone codenamed "{{Interlanguage link multi|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 {{Interlanguage link multi|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.

{{chset-table-header1|Code page 667}}
{{chset-left1|8x
128}}

|{{chset-cell1|u=00C7|Alt+128 U+00C7 LATIN CAPITAL LETTER C WITH CEDILLA|Ç}}

|{{chset-cell1|u=00FC|Alt+129 U+00FC LATIN SMALL LETTER U WITH DIAERESIS|ü}}

|{{chset-cell1|u=00E9|Alt+130 U+00E9 LATIN SMALL LETTER E WITH ACUTE|é}}

|{{chset-cell1|u=00E2|Alt+131 U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX|â}}

|{{chset-cell1|u=00E4|Alt+132 U+00E4 LATIN SMALL LETTER A WITH DIAERESIS|ä}}

|{{chset-cell1|u=00E0|Alt+133 U+00E0 LATIN SMALL LETTER A WITH GRAVE|à}}

|{{chset-cell1|u=0105|Alt+134 U+0105 LATIN SMALL LETTER A WITH OGONEK|ą|style=background:#DB9}}

|{{chset-cell1|u=00E7|Alt+135 U+00E7 LATIN SMALL LETTER C WITH CEDILLA|ç}}

|{{chset-cell1|u=00EA|Alt+136 U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX|ê}}

|{{chset-cell1|u=00EB|Alt+137 U+00EB LATIN SMALL LETTER E WITH DIAERESIS|ë}}

|{{chset-cell1|u=00E8|Alt+138 U+00E8 LATIN SMALL LETTER E WITH GRAVE|è}}

|{{chset-cell1|u=00EF|Alt+139 U+00EF LATIN SMALL LETTER I WITH DIAERESIS|ï}}

|{{chset-cell1|u=00EE|Alt+140 U+00EE LATIN SMALL LETTER I WITH CIRCUMFLEX|î}}

|{{chset-cell1|u=0107|Alt+141 U+0107 LATIN SMALL LETTER C WITH ACUTE|ć|style=background:#DB9}}

|{{chset-cell1|u=00C4|Alt+142 U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS|Ä}}

|{{chset-cell1|u=0104|Alt+143 U+0104 LATIN CAPITAL LETTER A WITH OGONEK|Ą|style=background:#DB9}}

{{chset-left1|9x
144}}

|{{chset-cell1|u=0118|Alt+144 U+0118 LATIN CAPITAL LETTER E WITH OGONEK|Ę|style=background:#DB9}}

|{{chset-cell1|u=0119|Alt+145 U+0119 LATIN SMALL LETTER E WITH OGONEK|ę|style=background:#DB9}}

|{{chset-cell1|u=0142|Alt+146 U+0142 LATIN SMALL LETTER L WITH STROKE|ł|style=background:#DB9}}

|{{chset-cell1|u=00F4|Alt+147 U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX|ô}}

|{{chset-cell1|u=00F6|Alt+148 U+00F6 LATIN SMALL LETTER O WITH DIAERESIS|ö}}

|{{chset-cell1|u=0106|Alt+149 U+0106 LATIN CAPITAL LETTER C WITH ACUTE|Ć|style=background:#DB9}}

|{{chset-cell1|u=00FB|Alt+150 U+00FB LATIN SMALL LETTER U WITH CIRCUMFLEX|û}}

|{{chset-cell1|u=00F9|Alt+151 U+00F9 LATIN SMALL LETTER U WITH GRAVE|ù}}

|{{chset-cell1|u=015A|Alt+152 U+015A LATIN CAPITAL LETTER S WITH ACUTE|Ś|style=background:#DB9}}

|{{chset-cell1|u=00D6|Alt+153 U+00D6 LATIN CAPITAL LETTER O WITH DIAERESIS|Ö}}

|{{chset-cell1|u=00DC|Alt+154 U+00DC LATIN CAPITAL LETTER U WITH DIAERESIS|Ü}}

|{{chset-cell1|u=00A2|Alt+155 U+00A2 CENT SIGN|¢}}

|{{chset-cell1|u=0141|Alt+156 U+0141 LATIN CAPITAL LETTER L WITH STROKE|Ł|style=background:#DB9}}

|{{chset-cell1|u=00A5|Alt+157 U+00A5 YEN SIGN|¥}}

|{{chset-cell1|u=015B|Alt+158 U+015B LATIN SMALL LETTER S WITH ACUTE|ś|style=background:#DB9}}

|{{chset-cell1|u=0192|Alt+159 U+0192 LATIN SMALL LETTER F WITH HOOK|ƒ}}

{{chset-left1|Ax
160}}

|{{chset-cell1|u=0179|Alt+160 U+0179 LATIN CAPITAL LETTER Z WITH ACUTE|Ź|style=background:#DB9}}

|{{chset-cell1|u=017B|Alt+161 U+017B LATIN CAPITAL LETTER Z WITH DOT ABOVE|Ż|style=background:#DB9}}

|{{chset-cell1|u=00F3|Alt+162 U+00F3 LATIN SMALL LETTER O WITH ACUTE|ó}}

|{{chset-cell1|u=00D3|Alt+163 U+00D3 LATIN CAPITAL LETTER O WITH ACUTE|Ó|style=background:#DB9}}

|{{chset-cell1|u=0144|Alt+164 U+0144 LATIN SMALL LETTER N WITH ACUTE|ń|style=background:#DB9}}

|{{chset-cell1|u=0143|Alt+165 U+0143 LATIN CAPITAL LETTER N WITH ACUTE|Ń|style=background:#DB9}}

|{{chset-cell1|u=017A|Alt+166 U+017A LATIN SMALL LETTER Z WITH ACUTE|ź|style=background:#DB9}}

|{{chset-cell1|u=017C|Alt+167 U+017C LATIN SMALL LETTER Z WITH DOT ABOVE|ż|style=background:#DB9}}

|{{chset-cell1|u=00BF|Alt+168 U+00BF INVERTED QUESTION MARK|¿}}

|{{chset-cell1|u=2310|Alt+169 U+2310 REVERSED NOT SIGN|}}

|{{chset-cell1|u=00AC|Alt+170 U+00AC NOT SIGN|¬}}

|{{chset-cell1|u=00BD|Alt+171 U+00BD VULGAR FRACTION ONE HALF|½}}

|{{chset-cell1|u=00BC|Alt+172 U+00BC VULGAR FRACTION ONE QUARTER|¼}}

|{{chset-cell1|u=00A1|Alt+173 U+00A1 INVERTED EXCLAMATION MARK|¡}}

|{{chset-cell1|u=00AB|Alt+174 U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK|«}}

|{{chset-cell1|u=00BB|Alt+175 U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK|»}}

{{chset-left1|Bx
176}}

|{{chset-cell1|u=2591|Alt+176 U+2591 LIGHT SHADE|}}

|{{chset-cell1|u=2592|Alt+177 U+2592 MEDIUM SHADE|}}

|{{chset-cell1|u=2593|Alt+178 U+2593 DARK SHADE|}}

|{{chset-cell1|u=2502|Alt+179 U+2502 BOX DRAWINGS LIGHT VERTICAL|}}

|{{chset-cell1|u=2524|Alt+180 U+2524 BOX DRAWINGS LIGHT VERTICAL AND LEFT|}}

|{{chset-cell1|u=2561|Alt+181 U+2561 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE|}}

|{{chset-cell1|u=2562|Alt+182 U+2562 BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE|}}

|{{chset-cell1|u=2556|Alt+183 U+2556 BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE|}}

|{{chset-cell1|u=2555|Alt+184 U+2555 BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE|}}

|{{chset-cell1|u=2563|Alt+185 U+2563 BOX DRAWINGS DOUBLE VERTICAL AND LEFT|}}

|{{chset-cell1|u=2551|Alt+186 U+2551 BOX DRAWINGS DOUBLE VERTICAL|}}

|{{chset-cell1|u=2557|Alt+187 U+2557 BOX DRAWINGS DOUBLE DOWN AND LEFT|}}

|{{chset-cell1|u=255D|Alt+188 U+255D BOX DRAWINGS DOUBLE UP AND LEFT|}}

|{{chset-cell1|u=255C|Alt+189 U+255C BOX DRAWINGS UP DOUBLE AND LEFT SINGLE|}}

|{{chset-cell1|u=255B|Alt+190 U+255B BOX DRAWINGS UP SINGLE AND LEFT DOUBLE|}}

|{{chset-cell1|u=2510|Alt+191 U+2510 BOX DRAWINGS LIGHT DOWN AND LEFT|}}

{{chset-left1|Cx
192}}

|{{chset-cell1|u=2514|Alt+192 U+2514 BOX DRAWINGS LIGHT UP AND RIGHT|}}

|{{chset-cell1|u=2534|Alt+193 U+2534 BOX DRAWINGS LIGHT UP AND HORIZONTAL|}}

|{{chset-cell1|u=252C|Alt+194 U+252C BOX DRAWINGS LIGHT DOWN AND HORIZONTAL|}}

|{{chset-cell1|u=251C|Alt+195 U+251C BOX DRAWINGS LIGHT VERTICAL AND RIGHT|}}

|{{chset-cell1|u=2500|Alt+196 U+2500 BOX DRAWINGS LIGHT HORIZONTAL|}}

|{{chset-cell1|u=253C|Alt+197 U+253C BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL|}}

|{{chset-cell1|u=255E|Alt+198 U+255E BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE|}}

|{{chset-cell1|u=255F|Alt+199 U+255F BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE|}}

|{{chset-cell1|u=255A|Alt+200 U+255A BOX DRAWINGS DOUBLE UP AND RIGHT|}}

|{{chset-cell1|u=2554|Alt+201 U+2554 BOX DRAWINGS DOUBLE DOWN AND RIGHT|}}

|{{chset-cell1|u=2569|Alt+202 U+2569 BOX DRAWINGS DOUBLE UP AND HORIZONTAL|}}

|{{chset-cell1|u=2566|Alt+203 U+2566 BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL|}}

|{{chset-cell1|u=2560|Alt+204 U+2560 BOX DRAWINGS DOUBLE VERTICAL AND RIGHT|}}

|{{chset-cell1|u=2550|Alt+205 U+2550 BOX DRAWINGS DOUBLE HORIZONTAL|}}

|{{chset-cell1|u=256C|Alt+206 U+256C BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL|}}

|{{chset-cell1|u=2567|Alt+207 U+2567 BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE|}}

{{chset-left1|Dx
208}}

|{{chset-cell1|u=2568|Alt+208 U+2568 BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE|}}

|{{chset-cell1|u=2564|Alt+209 U+2564 BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE|}}

|{{chset-cell1|u=2565|Alt+210 U+2565 BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE|}}

|{{chset-cell1|u=2559|Alt+211 U+2559 BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE|}}

|{{chset-cell1|u=2558|Alt+212 U+2558 BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE|}}

|{{chset-cell1|u=2552|Alt+213 U+2552 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE|}}

|{{chset-cell1|u=2553|Alt+214 U+2553 BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE|}}

|{{chset-cell1|u=256B|Alt+215 U+256B BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE|}}

|{{chset-cell1|u=256A|Alt+216 U+256A BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE|}}

|{{chset-cell1|u=2518|Alt+217 U+2518 BOX DRAWINGS LIGHT UP AND LEFT|}}

|{{chset-cell1|u=250C|Alt+218 U+250C BOX DRAWINGS LIGHT DOWN AND RIGHT|}}

|{{chset-cell1|u=2588|Alt+219 U+2588 FULL BLOCK|}}

|{{chset-cell1|u=2584|Alt+220 U+2584 LOWER HALF BLOCK|}}

|{{chset-cell1|u=258C|Alt+221 U+258C LEFT HALF BLOCK|}}

|{{chset-cell1|u=2590|Alt+222 U+2590 RIGHT HALF BLOCK|}}

|{{chset-cell1|u=2580|Alt+223 U+2580 UPPER HALF BLOCK|}}

{{chset-left1|Ex
224}}

|{{chset-cell1|u=03B1|Alt+224 U+03B1 GREEK SMALL LETTER ALPHA|α}}

|{{chset-cell1|u=00DF|Alt+225 U+00DF LATIN SMALL LETTER SHARP S|ß}}

|{{chset-cell1|u=0393|Alt+226 U+0393 GREEK CAPITAL LETTER GAMMA|Γ}}

|{{chset-cell1|u=03C0|Alt+227 U+03C0 GREEK SMALL LETTER PI|π}}

|{{chset-cell1|u=03A3|Alt+228 U+03A3 GREEK CAPITAL LETTER SIGMA|Σ}}

|{{chset-cell1|u=03C3|Alt+229 U+03C3 GREEK SMALL LETTER SIGMA|σ}}

|{{chset-cell1|u=00B5|Alt+230 U+00B5 MICRO SIGN|µ}}

|{{chset-cell1|u=03C4|Alt+231 U+03C4 GREEK SMALL LETTER TAU|τ}}

|{{chset-cell1|u=03A6|Alt+232 U+03A6 GREEK CAPITAL LETTER PHI|Φ}}

|{{chset-cell1|u=0398|Alt+233 U+0398 GREEK CAPITAL LETTER THETA|Θ}}

|{{chset-cell1|u=03A9|Alt+234 U+03A9 GREEK CAPITAL LETTER OMEGA|Ω}}

|{{chset-cell1|u=03B4|Alt+235 U+03B4 GREEK SMALL LETTER DELTA|δ}}

|{{chset-cell1|u=221E|Alt+236 U+221E INFINITY|}}

|{{chset-cell1|u=03C6|Alt+237 U+03C6 GREEK SMALL LETTER PHI|φ}}

|{{chset-cell1|u=03B5|Alt+238 U+03B5 GREEK SMALL LETTER EPSILON|ε}}

|{{chset-cell1|u=2229|Alt+239 U+2229 INTERSECTION|}}

{{chset-left1|Fx
240}}

|{{chset-cell1|u=2261|Alt+240 U+2261 IDENTICAL TO|}}

|{{chset-cell1|u=00B1|Alt+241 U+00B1 PLUS-MINUS SIGN|±}}

|{{chset-cell1|u=2265|Alt+242 U+2265 GREATER-THAN OR EQUAL TO|}}

|{{chset-cell1|u=2264|Alt+243 U+2264 LESS-THAN OR EQUAL TO|}}

|{{chset-cell1|u=2320|Alt+244 U+2320 TOP HALF INTEGRAL|}}

|{{chset-cell1|u=2321|Alt+245 U+2321 BOTTOM HALF INTEGRAL|}}

|{{chset-cell1|u=00F7|Alt+246 U+00F7 DIVISION SIGN|÷}}

|{{chset-cell1|u=2248|Alt+247 U+2248 ALMOST EQUAL TO|}}

|{{chset-cell1|u=00B0|Alt+248 U+00B0 DEGREE SIGN|°}}

|{{chset-cell1|u=2219|Alt+249 U+2219 BULLET OPERATOR|}}

|{{chset-cell1|u=00B7|Alt+250 U+00B7 MIDDLE DOT|·}}

|{{chset-cell1|u=221A|Alt+251 U+221A SQUARE ROOT|}}

|{{chset-cell1|u=207F|Alt+252 U+207F SUPERSCRIPT LATIN SMALL LETTER N|}}

|{{chset-cell1|u=00B2|Alt+253 U+00B2 SUPERSCRIPT TWO|²}}

|{{chset-cell1|u=25A0|Alt+254 U+25A0 BLACK SQUARE|}}

|{{chset-ctrl1|Alt+255 U+00A0 NO-BREAK SPACE|NBSP}}

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

See also

Notes

{{reflist|group="nb"|refs=

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

{{reflist|refs=

{{cite web |title=Specification and reference documentation for NECPINW |edition=2.08 |work=NECPINW.CPI - DOS code page switching driver for NEC Pinwriters |at=FILESPEC.TXT from NECPI208.ZIP |author-first=Matthias R. |author-last=Paul |date=2001 |orig-year=1996 |url=http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/print/cpi/NECPI208.ZIP |access-date=2013-04-22 |url-status=live |archive-url=https://web.archive.org/web/20170910202610/http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/print/cpi/NECPI208.ZIP |archive-date=2017-09-10}}

{{cite book |title=Pinwriter Familie - Pinwriter - Epromsockel - Zusätzliche Zeichensätze / Schriftarten |language=de |publisher=NEC Deutschland GmbH |author= |date=1993 |edition=00 3/93 |type=Printed reference manual for optional font and codepage EPROMs for NEC Pinwriters, including custom variants}} (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.)

{{cite book |title=Fujitsu DL6400/DL6600 Dot Matrix Printer User's Manual |publisher=Fujitsu Limited |date=April 1994 |id=C147-E015-01EN |url=http://www.fujitsu.com/downloads/COMP/fcpa/printers/dl6400_user-manual.pdf |access-date=2016-06-14 |url-status=live |archive-url=https://web.archive.org/web/20160614143230/http://www.fujitsu.com/downloads/COMP/fcpa/printers/dl6400_user-manual.pdf |archive-date=2016-06-14}}

}}

{{Character_encoding}}

{{DEFAULTSORT:Mazovia Encoding}}

Category:DOS code pages