The Kamenický encoding (Czech: 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.

Code page 867 / 895
0123456789ABCDEF
8xČ010Cü00FCé00E9ď010Fä00E4Ď010EŤ0164č010Dě011BĚ011AĹ0139Í00CDľ013Eĺ013AÄ00C4Á00C1
9xÉ00C9ž017EŽ017Dô00F4ö00F6Ó00D3ů016FÚ00DAý00FDÖ00D6Ü00DCŠ0160Ľ013DÝ00DDŘ0158ť0165
Axá00E1í00EDó00F3ú00FAň0148Ň0147Ů016EÔ00D4š0161ř0159ŕ0155Ŕ0154¼00BC§00A7«00AB»00BB
Bx259125922593250225242561256225562555256325512557255D255C255B2510
Cx25142534252C251C2500253C255E255F255A25542569256625602550256C2567
Dx2568256425652559255825522553256B256A2518250C25882584258C25902580
Exα03B1ß00DFΓ0393π03C0Σ03A3σ03C3µ00B5τ03C4Φ03A6Θ0398Ω03A9δ03B4221Eφ03C6ε03B52229
Fx2261±00B12265226423202321÷00F72248°00B02219·00B7221A207F²00B225A0NBSP

See also