Jump to content

CWI-2

From Wikipedia, the free encyclopedia

CWI-2[1] (a.k.a. CWI, cp-hu,[1][2] HUCWI, or HU8CWI2[3]) is a Hungarian code page frequently used in the 1980s and early 1990s. If this code page is erroneously interpreted as code page 437, it will still be fairly readable (e.g. Á in place of Å).

Character set

[edit]

The following table shows "CWI-2". Each character is shown with its equivalent Unicode code point. Only the second half is shown, codes less than 128 are identical to code page 437.

CWI-2
0 1 2 3 4 5 6 7 8 9 A B C D E F
8x Ç ü é â ä à å ç ê ë è ï î Í Ä Á
9x É æ Æ ő ö Ó ű Ú Ű Ö Ü ¢ £ ¥ ƒ
Ax á í ó ú ñ Ñ ª Ő ¿ ¬ ½ ¼ ¡ « »
Bx
Cx
Dx
Ex α ß Γ π Σ σ µ τ Φ Θ Ω δ φ ε
Fx ± ÷ ° · ² NBSP
  Differences from code page 437

The Unicode encoding used by recode appears to differ in a number of code points:[2]

9F | U+E01F | HUNGARIAN FLORIN (CWI_9F)
E1 | U+03B2 | GREEK SMALL LETTER BETA
E6 | U+03BC | GREEK SMALL LETTER MU
ED | U+2205 | EMPTY SET
F8 | U+2218 | RING OPERATOR
F9 | U+00B7 | MIDDLE DOT
FA | U+2022 | BULLET

Several applications developed in Hungary use almost identical character sets with slight modifications, which include § (U+00A7, SECTION SIGN) at 0x9D and a forint sign (an upper-case F and lower-case t ligated into a single character) at 0x9E or 0xA8. The florin sign was planned to be disunified, but so many encodings have this, it would disrupt many mappings.[4] The forint is usually abbreviated as "Ft"; most Hungarians recognize a lower-case "f" (whether upright or cursive) as meaning fillér, the now-unused subdivision of the forint. 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.[5] Named "CWI" the optional ROM #7 "Hungaria" included this encoding, invokable via escape sequence ESC R (n) with (n) = 21.[5]

CWI-1

[edit]

The codepage CWI-1 differs only by the position of "Í" (U+00CD, LATIN CAPITAL LETTER I WITH ACUTE) on position 8C instead of 8D and "Ő" (U+0150, LATIN CAPITAL LETTER O WITH DOUBLE ACUTE) on position 8B instead of A7.[6] This codepage is known by Star printers and FreeDOS as Code page 3845 (earlier it was known by FreeDOS as Code page 57781).

See also

[edit]

References

[edit]
  1. ^ a b "CWI-2". Computerworld Számítástechnika. 1.0. 3 (13). 1988-06-29.
  2. ^ a b Flohr, Guido (2009) [2002]. "Locale::RecodeData::CWI - Conversion routines for CWI". CPAN libintl-perl. 1.0. Archived from the original on 2016-06-06. Retrieved 2016-06-06.
  3. ^ Baird, Cathy; Chiba, Dan; Chu, Winson; Fan, Jessica; Ho, Claire; Law, Simon; Lee, Geoff; Linsley, Peter; Matsuda, Keni; Oscroft, Tamzin; Takeda, Shige; Tanaka, Linus; Tozawa, Makoto; Trute, Barry; Tsujimoto, Mayumi; Wu, Ying; Yau, Michael; Yu, Tim; Wang, Chao; Wong, Simon; Zhang, Weiran; Zheng, Lei; Zhu, Yan; Moore, Valarie (2002) [1996]. "Appendix A: Locale Data" (PDF). Oracle9i Database Globalization Support Guide (Release 2 (9.2) ed.). Oracle Corporation. Oracle A96529-01. Archived (PDF) from the original on 2017-02-14. Retrieved 2017-02-14.
  4. ^ "Proposal to encode a Florin currency symbol" (PDF).
  5. ^ a b Pinwriter Familie - Pinwriter - Epromsockel - Zusätzliche Zeichensätze / Schriftarten (Printed reference manual for optional font and code page EPROMs for NEC Pinwriters, including custom variants) (in German) (00 3/93 ed.), NEC Deutschland GmbH, 1993
  6. ^ Láng, Attila D. (2001-10-15). Drótos, László (ed.). "Íráskalauz" [Guide to Writing] (in Hungarian). Hungarian Electronic Library. Retrieved 2017-10-20.