Kamenický encoding
{{Short description|Character encoding}}
{{infobox character encoding
|name = Kamenický encoding
|alias = NEC-867,{{efn-ua|Not IBM-867, which is a Hebrew encoding.}} DOS-895,{{efn-ua|Not IBM-895, which is used on AIX for the Roman set of JIS X 0201.}} KEYBCS2
|image = Citát o Wikipedii v kódu bratří Kamenických.png
|caption = Czech text using the Kamenický encoding displayed in CP437
|classification = Extended ASCII, OEM code page
|basedon = OEM-US
|extra =
}}
The Kamenický encoding ({{langx|cs|kódování Kamenických}}), named for the brothers Jiří and Marian Kamenický, was a code page for personal computers running DOS, very popular in Czechoslovakia (since 1993, the Czech Republic and Slovakia) around 1985–1995. Another name for this encoding is KEYBCS2
, the name of the terminate-and-stay-resident utility which implemented the matching keyboard driver. It was also named KAMENICKY
.
It was based on the code page 437 encoding (with accented characters for Western-European languages) where most of the characters from code points 128 to 173 were replaced by Czech and Slovak characters chosen so that the glyphs of the replacement characters resembled those of the original as closely as possible, e. g. č in the place of ç. This ensured that text in the Kamenický encoding was (barely) readable even on older or cheap computers with the original fonts (which were often in videocard ROM, making modification difficult if not impossible).
A supplemental feature was that the block graphic and box-drawing characters of code page 437 remained unchanged (IBM's official Central-European code page 852 did not have this property, making programs like Norton Commander look funny with corners and joints of border lines broken by accented letters). The widespread use of the Kamenický encoding was undermined neither by IBM's code page 852, nor by the Windows 3.1 introducing Microsoft Central Europe code page 1250. Only with Windows 95 and the spreading deployment of Microsoft Office did users begin to use code page 1250, which in turn is now obsoleted by Unicode.
Some ambiguity exists in the official code page assignment for the Kamenický encoding:
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. The optional ROM #2 "East Europe" included this encoding, invokable via escape sequence ESC R (n)
with (n) = 23. While named "Kamenický" in the documentation, it was originally advertised by NEC as code page 867 (CP867) or "Czech". (However, it was never registered with IBM under that ID, as IBM registered another unrelated code page Israel: Hebrew, based on CP862, under that ID in 1998.) The Fujitsu DL6400 (Pro) / DL6600 (Pro) printers support the Kamenický encoding as well.
The encoding was also sometimes called code page 895 (CP895), for example with FoxPro, in the WordPerfect text processor and under the Arachne web browser for DOS, but IBM uses this code page number for a different encoding, CM/Group 2: 7-bit Latin SBCS: Japanese (EUC-JP JIS-Roman) or Japan 7-Bit Latin (00895), and the IANA does not recognize the number at all. The DOS code page switching file NECPINW.CPI
for NEC Pinwriters supported the Kamenický encoding under both, code page 867 and 895 as well. This encoding is known as code page 3844 in Star printers.
Character set
Each character is shown with its equivalent Unicode code point. Only the second half of the table (code points 128–255) is shown, the first half (code points 0–127) being the same as code page 437.
{{chset-table-header1|Code page 867 / 895}} |
{{chset-left1|8x}}
|{{chset-cell1|u=010C|U+010C LATIN CAPITAL LETTER C WITH CARON|Č|style=background:#FFD}} |{{chset-cell1|u=00FC|U+00FC LATIN SMALL LETTER U WITH DIAERESIS|ü}} |{{chset-cell1|u=00E9|U+00E9 LATIN SMALL LETTER E WITH ACUTE|é}} |{{chset-cell1|u=010F|U+010F LATIN SMALL LETTER D WITH CARON|ď|style=background:#FFD}} |{{chset-cell1|u=00E4|U+00E4 LATIN SMALL LETTER A WITH DIAERESIS|ä}} |{{chset-cell1|u=010E|U+010E LATIN CAPITAL LETTER D WITH CARON|Ď|style=background:#FFD}} |{{chset-cell1|u=0164|U+0164 LATIN CAPITAL LETTER T WITH CARON|Ť|style=background:#FFD}} |{{chset-cell1|u=010D|U+010D LATIN SMALL LETTER C WITH CARON|č|style=background:#FFD}} |{{chset-cell1|u=011B|U+011B LATIN SMALL LETTER E WITH CARON|ě|style=background:#FFD}} |{{chset-cell1|u=011A|U+011A LATIN CAPITAL LETTER E WITH CARON|Ě|style=background:#FFD}} |{{chset-cell1|u=0139|U+0139 LATIN CAPITAL LETTER L WITH ACUTE|Ĺ|style=background:#FFD}} |{{chset-cell1|u=00CD|U+00CD LATIN CAPITAL LETTER I WITH ACUTE|Í|style=background:#FFD}} |{{chset-cell1|u=013E|U+013E LATIN SMALL LETTER L WITH CARON|ľ|style=background:#FFD}} |{{chset-cell1|u=013A|U+013A LATIN SMALL LETTER L WITH ACUTE|ĺ|style=background:#FFD}} |{{chset-cell1|u=00C4|U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS|Ä}} |{{chset-cell1|u=00C1|U+00C1 LATIN CAPITAL LETTER A WITH ACUTE|Á|style=background:#FFD}} |
{{chset-left1|9x}}
|{{chset-cell1|u=00C9|U+00C9 LATIN CAPITAL LETTER E WITH ACUTE|É}} |{{chset-cell1|u=017E|U+017E LATIN SMALL LETTER Z WITH CARON|ž|style=background:#FFD}} |{{chset-cell1|u=017D|U+017D LATIN CAPITAL LETTER Z WITH CARON|Ž|style=background:#FFD}} |{{chset-cell1|u=00F4|U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX|ô}} |{{chset-cell1|u=00F6|U+00F6 LATIN SMALL LETTER O WITH DIAERESIS|ö}} |{{chset-cell1|u=00D3|U+00D3 LATIN CAPITAL LETTER O WITH ACUTE|Ó|style=background:#FFD}} |{{chset-cell1|u=016F|U+016F LATIN SMALL LETTER U WITH RING ABOVE|ů|style=background:#FFD}} |{{chset-cell1|u=00DA|U+00DA LATIN CAPITAL LETTER U WITH ACUTE|Ú|style=background:#FFD}} |{{chset-cell1|u=00FD|U+00FD LATIN SMALL LETTER Y WITH ACUTE|ý|style=background:#FFD}} |{{chset-cell1|u=00D6|U+00D6 LATIN CAPITAL LETTER O WITH DIAERESIS|Ö}} |{{chset-cell1|u=00DC|U+00DC LATIN CAPITAL LETTER U WITH DIAERESIS|Ü}} |{{chset-cell1|u=0160|U+0160 LATIN CAPITAL LETTER S WITH CARON|Š|style=background:#FFD}} |{{chset-cell1|u=013D|U+013D LATIN CAPITAL LETTER L WITH CARON|Ľ|style=background:#FFD}} |{{chset-cell1|u=00DD|U+00DD LATIN CAPITAL LETTER Y WITH ACUTE|Ý|style=background:#FFD}} |{{chset-cell1|u=0158|U+0158 LATIN CAPITAL LETTER R WITH CARON|Ř|style=background:#FFD}} |{{chset-cell1|u=0165|U+0165 LATIN SMALL LETTER T WITH CARON|ť|style=background:#FFD}} |
{{chset-left1|Ax}}
|{{chset-cell1|u=00E1|U+00E1 LATIN SMALL LETTER A WITH ACUTE|á}} |{{chset-cell1|u=00ED|U+00ED LATIN SMALL LETTER I WITH ACUTE|í}} |{{chset-cell1|u=00F3|U+00F3 LATIN SMALL LETTER O WITH ACUTE|ó}} |{{chset-cell1|u=00FA|U+00FA LATIN SMALL LETTER U WITH ACUTE|ú}} |{{chset-cell1|u=0148|U+0148 LATIN SMALL LETTER N WITH CARON|ň|style=background:#FFD}} |{{chset-cell1|u=0147|U+0147 LATIN CAPITAL LETTER N WITH CARON|Ň|style=background:#FFD}} |{{chset-cell1|u=016E|U+016E LATIN CAPITAL LETTER U WITH RING ABOVE|Ů|style=background:#FFD}} |{{chset-cell1|u=00D4|U+00D4 LATIN CAPITAL LETTER O WITH CIRCUMFLEX|Ô|style=background:#FFD}} |{{chset-cell1|u=0161|U+0161 LATIN SMALL LETTER S WITH CARON|š|style=background:#FFD}} |{{chset-cell1|u=0159|U+0159 LATIN SMALL LETTER R WITH CARON|ř|style=background:#FFD}} |{{chset-cell1|u=0155|U+0155 LATIN SMALL LETTER R WITH ACUTE|ŕ|style=background:#FFD}} |{{chset-cell1|u=0154|U+0154 LATIN CAPITAL LETTER R WITH ACUTE|Ŕ|style=background:#FFD}} |{{chset-cell1|u=00BC|U+00BC VULGAR FRACTION ONE QUARTER|¼}} |{{chset-cell1|u=00A7|U+00A7 SECTION SIGN|§|fn={{efn|The Czech DOS word processor {{Interlanguage link multi|Text602|cs}} aka T602 assigned code point 173 to a section sign ( |{{chset-cell1|u=00AB|U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK|«}} |{{chset-cell1|u=00BB|U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK|»}} |
{{chset-left1|Bx}}
|{{chset-cell1|u=2591|U+2591 LIGHT SHADE|░}} |{{chset-cell1|u=2592|U+2592 MEDIUM SHADE|▒}} |{{chset-cell1|u=2593|U+2593 DARK SHADE|▓}} |{{chset-cell1|u=2502|U+2502 BOX DRAWINGS LIGHT VERTICAL|│}} |{{chset-cell1|u=2524|U+2524 BOX DRAWINGS LIGHT VERTICAL AND LEFT|┤}} |{{chset-cell1|u=2561|U+2561 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE|╡}} |{{chset-cell1|u=2562|U+2562 BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE|╢}} |{{chset-cell1|u=2556|U+2556 BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE|╖}} |{{chset-cell1|u=2555|U+2555 BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE|╕}} |{{chset-cell1|u=2563|U+2563 BOX DRAWINGS DOUBLE VERTICAL AND LEFT|╣}} |{{chset-cell1|u=2551|U+2551 BOX DRAWINGS DOUBLE VERTICAL|║}} |{{chset-cell1|u=2557|U+2557 BOX DRAWINGS DOUBLE DOWN AND LEFT|╗}} |{{chset-cell1|u=255D|U+255D BOX DRAWINGS DOUBLE UP AND LEFT|╝}} |{{chset-cell1|u=255C|U+255C BOX DRAWINGS UP DOUBLE AND LEFT SINGLE|╜}} |{{chset-cell1|u=255B|U+255B BOX DRAWINGS UP SINGLE AND LEFT DOUBLE|╛}} |{{chset-cell1|u=2510|U+2510 BOX DRAWINGS LIGHT DOWN AND LEFT|┐}} |
{{chset-left1|Cx}}
|{{chset-cell1|u=2514|U+2514 BOX DRAWINGS LIGHT UP AND RIGHT|└}} |{{chset-cell1|u=2534|U+2534 BOX DRAWINGS LIGHT UP AND HORIZONTAL|┴}} |{{chset-cell1|u=252C|U+252C BOX DRAWINGS LIGHT DOWN AND HORIZONTAL|┬}} |{{chset-cell1|u=251C|U+251C BOX DRAWINGS LIGHT VERTICAL AND RIGHT|├}} |{{chset-cell1|u=2500|U+2500 BOX DRAWINGS LIGHT HORIZONTAL|─}} |{{chset-cell1|u=253C|U+253C BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL|┼}} |{{chset-cell1|u=255E|U+255E BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE|╞}} |{{chset-cell1|u=255F|U+255F BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE|╟}} |{{chset-cell1|u=255A|U+255A BOX DRAWINGS DOUBLE UP AND RIGHT|╚}} |{{chset-cell1|u=2554|U+2554 BOX DRAWINGS DOUBLE DOWN AND RIGHT|╔}} |{{chset-cell1|u=2569|U+2569 BOX DRAWINGS DOUBLE UP AND HORIZONTAL|╩}} |{{chset-cell1|u=2566|U+2566 BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL|╦}} |{{chset-cell1|u=2560|U+2560 BOX DRAWINGS DOUBLE VERTICAL AND RIGHT|╠}} |{{chset-cell1|u=2550|U+2550 BOX DRAWINGS DOUBLE HORIZONTAL|═}} |{{chset-cell1|u=256C|U+256C BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL|╬}} |{{chset-cell1|u=2567|U+2567 BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE|╧}} |
{{chset-left1|Dx}}
|{{chset-cell1|u=2568|U+2568 BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE|╨}} |{{chset-cell1|u=2564|U+2564 BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE|╤}} |{{chset-cell1|u=2565|U+2565 BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE|╥}} |{{chset-cell1|u=2559|U+2559 BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE|╙}} |{{chset-cell1|u=2558|U+2558 BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE|╘}} |{{chset-cell1|u=2552|U+2552 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE|╒}} |{{chset-cell1|u=2553|U+2553 BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE|╓}} |{{chset-cell1|u=256B|U+256B BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE|╫}} |{{chset-cell1|u=256A|U+256A BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE|╪}} |{{chset-cell1|u=2518|U+2518 BOX DRAWINGS LIGHT UP AND LEFT|┘}} |{{chset-cell1|u=250C|U+250C BOX DRAWINGS LIGHT DOWN AND RIGHT|┌}} |{{chset-cell1|u=2588|U+2588 FULL BLOCK|█}} |{{chset-cell1|u=2584|U+2584 LOWER HALF BLOCK|▄}} |{{chset-cell1|u=258C|U+258C LEFT HALF BLOCK|▌}} |{{chset-cell1|u=2590|U+2590 RIGHT HALF BLOCK|▐}} |{{chset-cell1|u=2580|U+2580 UPPER HALF BLOCK|▀}} |
{{chset-left1|Ex}}
|{{chset-cell1|u=03B1|U+03B1 GREEK SMALL LETTER ALPHA|α}} |{{chset-cell1|u=00DF|U+00DF LATIN SMALL LETTER SHARP S|ß}} |{{chset-cell1|u=0393|U+0393 GREEK CAPITAL LETTER GAMMA|Γ}} |{{chset-cell1|u=03C0|U+03C0 GREEK SMALL LETTER PI|π}} |{{chset-cell1|u=03A3|U+03A3 GREEK CAPITAL LETTER SIGMA|Σ}} |{{chset-cell1|u=03C3|U+03C3 GREEK SMALL LETTER SIGMA|σ}} |{{chset-cell1|u=00B5|U+00B5 MICRO SIGN|µ}} |{{chset-cell1|u=03C4|U+03C4 GREEK SMALL LETTER TAU|τ}} |{{chset-cell1|u=03A6|U+03A6 GREEK CAPITAL LETTER PHI|Φ}} |{{chset-cell1|u=0398|U+0398 GREEK CAPITAL LETTER THETA|Θ}} |{{chset-cell1|u=03A9|U+03A9 GREEK CAPITAL LETTER OMEGA|Ω}} |{{chset-cell1|u=03B4|U+03B4 GREEK SMALL LETTER DELTA|δ}} |{{chset-cell1|u=221E|U+221E INFINITY|∞}} |{{chset-cell1|u=03C6|U+03C6 GREEK SMALL LETTER PHI|φ}} |{{chset-cell1|u=03B5|U+03B5 GREEK SMALL LETTER EPSILON|ε}} |{{chset-cell1|u=2229|U+2229 INTERSECTION|∩}} |
{{chset-left1|Fx}}
|{{chset-cell1|u=2261|U+2261 IDENTICAL TO|≡}} |{{chset-cell1|u=00B1|U+00B1 PLUS-MINUS SIGN|±}} |{{chset-cell1|u=2265|U+2265 GREATER-THAN OR EQUAL TO|≥}} |{{chset-cell1|u=2264|U+2264 LESS-THAN OR EQUAL TO|≤}} |{{chset-cell1|u=2320|U+2320 TOP HALF INTEGRAL|⌠}} |{{chset-cell1|u=2321|U+2321 BOTTOM HALF INTEGRAL|⌡}} |{{chset-cell1|u=00F7|U+00F7 DIVISION SIGN|÷}} |{{chset-cell1|u=2248|U+2248 ALMOST EQUAL TO|≈}} |{{chset-cell1|u=00B0|U+00B0 DEGREE SIGN|°}} |{{chset-cell1|u=2219|U+2219 BULLET OPERATOR|∙}} |{{chset-cell1|u=00B7|U+00B7 MIDDLE DOT|·}} |{{chset-cell1|u=221A|U+221A SQUARE ROOT|√}} |{{chset-cell1|u=207F|U+207F SUPERSCRIPT LATIN SMALL LETTER N|ⁿ}} |{{chset-cell1|u=00B2|U+00B2 SUPERSCRIPT TWO|²}} |{{chset-cell1|u=25A0|U+25A0 BLACK SQUARE|■}} |{{chset-ctrl1|U+00A0 NO-BREAK SPACE|NBSP}} |
{{legend|#FFD|Differences from Code Page 437}}
{{notelist}}
See also
- Mazovia encoding – similar code page for Polish
- CWI-2 encoding
- Hardware code page
References
{{reflist|refs=
{{cite book |title=Character Data Representation Architecture (CDRA) level 2 - Reference |publisher=IBM |date=1993 |id=SC09-1390-01}}
{{cite web |title=Codepages |publisher=IBM |date=2013 |url=http://www.ibm.com/servers/eserver/iseries/software/globalization/codepages.html |archive-url=https://archive.today/20130426144003/http://www.ibm.com/servers/eserver/iseries/software/globalization/codepages.html |archive-date=April 26, 2013 |url-status=dead}}
{{citation |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-date=1996 |url=https://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}}
{{citation |title=NEC Pinwriter. Ein Maßstab in der Profiklasse. |language=German |edition=P-EAM-D-5/92 |publisher=NEC Deutschland GmbH |author= |type=Printed 11-page color flyer about NEC Pinwriters P20/P30, P60/P70 and P90 |date=1992}} (NB. According to this publication, these printers included optional support for code page 867 (CP867), as it were also supported in display fonts in MS-DOS 5.0 and DR DOS 6.0.)
{{citation |title=Pinwriter Familie - Pinwriter - Epromsockel - Zusätzliche Zeichensätze / Schriftarten |language=German |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}}
{{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:Kamenicky Encoding}}