"Fossies" - the Fresh Open Source Software Archive

Member "dosemu-1.4.0/src/plugin/translate/charsets/iso8859-2.c" (23 Jun 2003, 1367 Bytes) of package /linux/misc/old/dosemu-1.4.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "iso8859-2.c" see the Fossies "Dox" file reference documentation.

    1 #include "translate.h"
    2 
    3 static const t_unicode iso8859_2_g1_chars[] = {
    4 0x00A0, 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, /* 0xA0-0xA7 */
    5 0x00A8, 0x0160, 0x015E, 0x0164, 0x0179, 0x00AD, 0x017D, 0x017B, /* 0xA8-0xAF */
    6 0x00B0, 0x0105, 0x02DB, 0x0142, 0x00B4, 0x013E, 0x015B, 0x02C7, /* 0xB0-0xB7 */
    7 0x00B8, 0x0161, 0x015F, 0x0165, 0x017A, 0x02DD, 0x017E, 0x017C, /* 0xB8-0xBF */
    8 0x0154, 0x00C1, 0x00C2, 0x0102, 0x00C4, 0x0139, 0x0106, 0x00C7, /* 0xC0-0xC7 */
    9 0x010C, 0x00C9, 0x0118, 0x00CB, 0x011A, 0x00CD, 0x00CE, 0x010E, /* 0xC8-0xCF */
   10 0x0110, 0x0143, 0x0147, 0x00D3, 0x00D4, 0x0150, 0x00D6, 0x00D7, /* 0xD0-0xD7 */
   11 0x0158, 0x016E, 0x00DA, 0x0170, 0x00DC, 0x00DD, 0x0162, 0x00DF, /* 0xD8-0xDF */
   12 0x0155, 0x00E1, 0x00E2, 0x0103, 0x00E4, 0x013A, 0x0107, 0x00E7, /* 0xE0-0xE7 */
   13 0x010D, 0x00E9, 0x0119, 0x00EB, 0x011B, 0x00ED, 0x00EE, 0x010F, /* 0xE8-0xEF */
   14 0x0111, 0x0144, 0x0148, 0x00F3, 0x00F4, 0x0151, 0x00F6, 0x00F7, /* 0xF0-0xF7 */
   15 0x0159, 0x016F, 0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9, /* 0xF8-0xFF */
   16 };
   17 struct char_set iso8859_2_g1 = {
   18     1,
   19     CHARS(iso8859_2_g1_chars),
   20     101, "B", 1, 96,
   21 };
   22 
   23 struct char_set iso8859_2 = {
   24     .c0 = &ascii_c0,
   25     .g0 = &ascii_g0,
   26     .c1 = &ascii_c1,
   27     .g1 = &iso8859_2_g1,
   28     .names = { "iso8859-2", 0 },
   29 };
   30 
   31 CONSTRUCTOR(static void init(void))
   32 {
   33     register_charset(&iso8859_2_g1);
   34     register_charset(&iso8859_2);
   35 }