--- pgp/src/charset.c 2018/04/24 16:42:37 1.1.1.5 +++ pgp/src/charset.c 2018/04/24 16:43:52 1.1.1.6 @@ -45,7 +45,8 @@ UNK, UNK, UNK, UNK, UNK, UNK, UNK, UNK, }; static unsigned char -intern2cp850[] = { /* ISO 8859-1 Latin Alphabet 1 (Latin-1) to IBM Code Page 850 */ +intern2cp850[] = { /* ISO 8859-1 Latin Alphabet 1 + (Latin-1) to IBM Code Page 850 */ 186, 205, 201, 187, 200, 188, 204, 185, 203, 202, 206, 223, 220, 219, 254, 242, 179, 196, 218, 191, 192, 217, 195, 180, 194, 193, 197, 176, 177, 178, 213, 159, 255, 173, 189, 156, 207, 190, 221, 245, 249, 184, 166, 174, 170, 240, 169, 238, @@ -71,7 +72,6 @@ cp8502intern[] = { /* IBM Code Page 850 /* Russian language specific conversation section */ /* Two point-to-point charset decode tables */ /* produced by Andrew A. Chernov */ - /* Decode single char from KOI8-R to ALT-CODES, if present */ static unsigned char intern2alt[] = { 0xc4, 0xb3, 0xda, 0xbf, 0xc0, 0xd9, 0xc3, 0xb4, @@ -141,7 +141,8 @@ char charset[64] = ""; void init_charset(void) { - ext_c_ptr = NULL; /* NULL means latin1 or KOI8 (internal format) */ + ext_c_ptr = NULL; /* NULL means latin1 or KOI8 + (internal format) */ int_c_ptr = NULL; if (charset[0] == '\0') { @@ -168,7 +169,8 @@ init_charset(void) } else if (!strcmp(charset, "ascii")) { ext_c_ptr = intern2ascii; } else { - fprintf(stderr, LANG("Unsupported character set: '%s'\n"), charset); + fprintf(stderr, LANG("Unsupported character set: '%s'\n"), + charset); } }