CWI-2 explained

CWI-2 (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

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.

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. Named "CWI" the optional ROM #7 "Hungaria" included this encoding, invokable via escape sequence ESC R (n) with (n) = 21.

CWI-1

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.[5] 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

Notes and References

  1. Computerworld Számítástechnika . CWI-2 . 3 . 13 . 1988-06-29 . 1.0.
  2. Web site: Guido . Flohr . Locale::RecodeData::CWI - Conversion routines for CWI . 2009 . 2002 . CPAN libintl-perl . 1.0 . 2016-06-06 . live . https://web.archive.org/web/20160606231652/http://search.cpan.org/~guido/libintl-perl-1.20/lib/Locale/RecodeData/CWI.pm . 2016-06-06.
  3. Book: Oracle9i Database Globalization Support Guide . Cathy . Baird . Dan . Chiba . Winson . Chu . Jessica . Fan . Claire . Ho . Simon . Law . Geoff . Lee . Peter . Linsley . Keni . Matsuda . Tamzin . Oscroft . Shige . Takeda . Linus . Tanaka . Makoto . Tozawa . Barry . Trute . Mayumi . Tsujimoto . Ying . Wu . Michael . Yau . Tim . Yu . Chao . Wang . Simon . Wong . Weiran . Zhang . Lei . Zheng . Yan . Zhu . Valarie . Moore . . Release 2 (9.2) . 2002 . 1996 . Oracle A96529-01 . Appendix A: Locale Data . https://docs.oracle.com/cd/B10501_01/server.920/a96529.pdf . 2017-02-14 . live . https://web.archive.org/web/20170214190952/https://docs.oracle.com/cd/B10501_01/server.920/a96529.pdf . 2017-02-14.
  4. Web site: Proposal to encode a Florin currency symbol.
  5. Web site: Íráskalauz . Guide to Writing . Láng . Attila D. . Hungarian Electronic Library . Drótos . László . hu . 2001-10-15 . 2017-10-20 .