Branch: Tag:

1999-04-26

1999-04-26 21:24:07 by Marcus Comstedt <marcus@mc.pp.se>

The folllwing charsets should now be complete:
videotex-suppl, iso-ir-90, ANSI_X3.110-1983, T.61-8bit, T.101-G2

Rev: src/modules/_Charset/misc.c:1.3
Rev: src/modules/_Charset/tables.c:1.3

1545:    0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073,    0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00b4,    0x00f1, 0x005b, 0x00a8, 0x007f, }; + p_wchar1 map_ANSI_X3_110_1983[] = { +  0x0021, 0x0022, 0xfffd, 0xfffd, 0x0025, 0x0026, 0x0027, 0x0028, +  0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, +  0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, +  0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, +  0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, +  0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, +  0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, +  0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, +  0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, +  0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, +  0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, +  0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, +  0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, +  0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, +  0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, +  0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, +  0x00a1, 0x00a2, 0x00a3, 0x0024, 0x00a5, 0x0023, 0x00a7, 0x00a4, +  0x2018, 0x201c, 0x00ab, 0x2190, 0x2191, 0x2192, 0x2193, 0x00b0, +  0x00b1, 0x00b2, 0x00b3, 0x00d7, 0x00b5, 0x00b6, 0x00b7, 0x00f7, +  0x2019, 0x201d, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0xfffd, +  0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe00c, 0xe00d, +  0xe015, 0xe00e, 0xe011, 0xe013, 0xe00f, 0xe012, 0xe010, 0x2014, +  0x00b9, 0x00ae, 0x00a9, 0x2122, 0x2669, 0x2501, 0x2503, 0x2571, +  0x2572, 0x25e2, 0x25e3, 0x215b, 0x215c, 0x215d, 0x215e, 0x2126, +  0x00c6, 0x00d0, 0x00aa, 0x0126, 0x254b, 0x0132, 0x013f, 0x0141, +  0x00d8, 0x0152, 0x00ba, 0x00de, 0x0166, 0x014a, 0x0149, 0x0138, +  0x00e6, 0x0111, 0x00f0, 0x0127, 0x0131, 0x0133, 0x0140, 0x0142, +  0x00f8, 0x0153, 0x00df, 0x00fe, 0x0167, 0x014b, 0xfffd, }; + p_wchar1 map_iso_ir_90[] = { +  0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, +  0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, +  0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, +  0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, +  0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, +  0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, +  0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, +  0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, +  0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, +  0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, +  0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, +  0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, +  0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, +  0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, +  0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, +  0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, +  0x00a1, 0x00a2, 0x00a3, 0x0024, 0x00a5, 0xfffd, 0x00a7, 0xfffd, +  0x2018, 0x201c, 0x00ab, 0x2190, 0x2191, 0x2192, 0x2193, 0x00b0, +  0x00b1, 0x00b2, 0x00b3, 0x00d7, 0x00b5, 0x00b6, 0x00b7, 0x00f7, +  0x2019, 0x201d, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0xfffd, +  0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe00c, 0xe00d, +  0xfffd, 0xe00e, 0xe011, 0xe013, 0xe00f, 0xe012, 0xe010, 0x2014, +  0x00b9, 0x00ae, 0x00a9, 0x2122, 0x2669, 0xfffd, 0xfffd, 0xfffd, +  0xfffd, 0xfffd, 0xfffd, 0x215b, 0x215c, 0x215d, 0x215e, 0x2126, +  0x00c6, 0x00d0, 0x00aa, 0x0126, 0xfffd, 0x0132, 0x013f, 0x0141, +  0x00d8, 0x0152, 0x00ba, 0x00de, 0x0166, 0x014a, 0x0149, 0x0138, +  0x00e6, 0x0111, 0x00f0, 0x0127, 0x0131, 0x0133, 0x0140, 0x0142, +  0x00f8, 0x0153, 0x00df, 0x00fe, 0x0167, 0x014b, 0xfffd, }; + p_wchar1 map_T_101_G2[] = { +  0x0021, 0x0022, 0xfffd, 0xfffd, 0x0025, 0x0026, 0x0027, 0x0028, +  0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, +  0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, +  0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, +  0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, +  0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, +  0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, +  0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, +  0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, +  0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, +  0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, +  0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, +  0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, +  0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, +  0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, +  0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, +  0x00a1, 0x00a2, 0x00a3, 0x0024, 0x00a5, 0x0023, 0x00a7, 0x00a4, +  0x2018, 0x201c, 0x00ab, 0x2190, 0x2191, 0x2192, 0x2193, 0x00b0, +  0x00b1, 0x00b2, 0x00b3, 0x00d7, 0x00b5, 0x00b6, 0x00b7, 0x00f7, +  0x2019, 0x201d, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0xfffd, +  0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe00c, 0xe00d, +  0xe015, 0xe00e, 0xe011, 0xe013, 0xe00f, 0xe012, 0xe010, 0x2014, +  0x00b9, 0x00ae, 0x00a9, 0x2122, 0x2669, 0x2501, 0x2503, 0x2571, +  0x2572, 0x25e2, 0x25e3, 0x215b, 0x215c, 0x215d, 0x215e, 0x2126, +  0x00c6, 0x00d0, 0x00aa, 0x0126, 0x254b, 0x0132, 0x013f, 0x0141, +  0x00d8, 0x0152, 0x00ba, 0x00de, 0x0166, 0x014a, 0x0149, 0x0138, +  0x00e6, 0x0111, 0x00f0, 0x0127, 0x0131, 0x0133, 0x0140, 0x0142, +  0x00f8, 0x0153, 0x00df, 0x00fe, 0x0167, 0x014b, 0xfffd, }; + p_wchar1 map_T_61_8bit[] = { +  0x0021, 0x0022, 0xfffd, 0xfffd, 0x0025, 0x0026, 0x0027, 0x0028, +  0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, +  0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, +  0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, +  0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, +  0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, +  0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, +  0x0059, 0x005a, 0x005b, 0xfffd, 0x005d, 0xfffd, 0x005f, 0xfffd, +  0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, +  0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, +  0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, +  0x0079, 0x007a, 0xfffd, 0x007c, 0xfffd, 0xfffd, 0x007f, 0x0080, +  0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, +  0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, +  0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, +  0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, +  0x00a1, 0x00a2, 0x00a3, 0x0024, 0x00a5, 0x0023, 0x00a7, 0x00a4, +  0xfffd, 0xfffd, 0x00ab, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x00b0, +  0x00b1, 0x00b2, 0x00b3, 0x00d7, 0x00b5, 0x00b6, 0x00b7, 0x00f7, +  0xfffd, 0xfffd, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0xfffd, +  0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe00c, 0xe00d, +  0xfffd, 0xe00e, 0xe011, 0xe013, 0xe00f, 0xe012, 0xe010, 0xfffd, +  0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, +  0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x2126, +  0x00c6, 0x00d0, 0x00aa, 0x0126, 0xfffd, 0x0132, 0x013f, 0x0141, +  0x00d8, 0x0152, 0x00ba, 0x00de, 0x0166, 0x014a, 0x0149, 0x0138, +  0x00e6, 0x0111, 0x00f0, 0x0127, 0x0131, 0x0133, 0x0140, 0x0142, +  0x00f8, 0x0153, 0x00df, 0x00fe, 0x0167, 0x014b, 0xfffd, }; + p_wchar1 map_videotex_suppl[] = { +  0x0021, 0x0022, 0xfffd, 0xfffd, 0x0025, 0x0026, 0x0027, 0x0028, +  0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, +  0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, +  0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, +  0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, +  0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, +  0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, +  0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, +  0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, +  0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, +  0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, +  0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, +  0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, +  0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, +  0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, +  0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, +  0x00a1, 0x00a2, 0x00a3, 0x0024, 0x00a5, 0x0023, 0x00a7, 0x00a4, +  0x2018, 0x201c, 0x00ab, 0x2190, 0x2191, 0x2192, 0x2193, 0x00b0, +  0x00b1, 0x00b2, 0x00b3, 0x00d7, 0x00b5, 0x00b6, 0x00b7, 0x00f7, +  0x2019, 0x201d, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, 0xe005, +  0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe00c, 0xe00d, +  0xfffd, 0xe00e, 0xe011, 0xfffd, 0xe00f, 0xe012, 0xe010, 0x2014, +  0x00b9, 0x00ae, 0x00a9, 0x2122, 0x2669, 0xfffd, 0xfffd, 0xfffd, +  0xfffd, 0xfffd, 0xfffd, 0x215b, 0x215c, 0x215d, 0x215e, 0x2126, +  0x00c6, 0x00d0, 0x00aa, 0x0126, 0xfffd, 0x0132, 0x013f, 0x0141, +  0x00d8, 0x0152, 0x00ba, 0x00de, 0x0166, 0x014a, 0x0149, 0x0138, +  0x00e6, 0x0111, 0x00f0, 0x0127, 0x0131, 0x0133, 0x0140, 0x0142, +  0x00f8, 0x0153, 0x00df, 0x00fe, 0x0167, 0x014b, 0xfffd, };      static struct {    char *name;
1564:    { "865", map_IBM865, 128, 255 },    { "869", map_IBM869, 128, 255 },    { "904", map_IBM904, 128, 255 }, +  { "ansi_x3.110-1983", map_ANSI_X3_110_1983, 33, 255 },    { "cp-ar", map_IBM868, 128, 255 },    { "cp-gr", map_IBM869, 128, 255 },    { "cp-is", map_IBM861, 128, 255 },
1606:    { "cp904", map_IBM904, 128, 255 },    { "cp905", map_IBM905, 32, 255 },    { "cp918", map_IBM918, 32, 255 }, +  { "csa_t500-1983", map_ANSI_X3_110_1983, 33, 255 },    { "cuba", map_NC_NC00_10_81, 36, 127 },    { "dec", map_DEC_MCS, 160, 255 },    { "dec-mcs", map_DEC_MCS, 160, 255 },
1698:    { "ibm905", map_IBM905, 32, 255 },    { "ibm918", map_IBM918, 32, 255 },    { "invariant", map_INVARIANT, 35, 127 }, +  { "iso-ir-103", map_T_61_8bit, 33, 255 }, +  { "iso-ir-128", map_T_101_G2, 33, 255 },    { "iso-ir-150", map_greek_ccitt, 36, 127 },    { "iso-ir-151", map_NC_NC00_10_81, 36, 127 },    { "iso-ir-157", map_latin6, 161, 255 },    { "iso-ir-158", map_latin_lap, 160, 255 }, -  +  { "iso-ir-70", map_videotex_suppl, 33, 255 }, +  { "iso-ir-90", map_iso_ir_90, 33, 255 }, +  { "iso-ir-99", map_ANSI_X3_110_1983, 33, 255 },    { "iso646-cu", map_NC_NC00_10_81, 36, 127 },    { "iso646-dk", map_DS_2089, 91, 127 },    { "iso646-kr", map_KSC5636, 92, 127 },
1714:    { "latin6", map_latin6, 161, 255 },    { "mac", map_macintosh, 128, 255 },    { "macintosh", map_macintosh, 128, 255 }, +  { "naplps", map_ANSI_X3_110_1983, 33, 255 },    { "nc_nc00-10:81", map_NC_NC00_10_81, 36, 127 },    { "r8", map_hp_roman8, 161, 255 },    { "ref", map_ISO_646_basic_1983, 35, 122 },    { "roman8", map_hp_roman8, 161, 255 }, -  +  { "t.101-g2", map_T_101_G2, 33, 255 }, +  { "t.61", map_T_61_8bit, 33, 255 }, +  { "t.61-8bit", map_T_61_8bit, 33, 255 }, +  { "videotex-suppl", map_videotex_suppl, 33, 255 },    { "x0201", map_JIS_X0201, 92, 255 },   };   #define NUM_CHARSETS (sizeof(charset_map)/sizeof(charset_map[0]))