1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Treat Big5 as Big5-hkscs.

This commit is contained in:
Witold Filipczyk 2010-07-24 10:39:18 +02:00 committed by Witold Filipczyk
parent 90b37ff15f
commit 958cc8dbbc

View File

@ -4884,13 +4884,12 @@ unsigned char *const aliases_utf8 [] = {
NULL
};
/*** Big5 ***/
#define highhalf_big5 highhalf_NULL
#define table_big5 table_NULL
/*** Big5, Big5-HKSCS ***/
/* many sites set charset="Big5", although they really use "Big5-hkscs".
Big5-hkscs is superset of Big5. */
unsigned char *const aliases_big5 [] = {
"Big5-HKSCS",
"Big5",
NULL
};
@ -4959,7 +4958,7 @@ const struct codepage_desc codepages [] = {
{"TCVN-5712", aliases_tcvn5712, highhalf_tcvn5712, table_tcvn5712, 0},
{"VISCII", aliases_viscii, highhalf_viscii, table_viscii, 0},
{"Unicode UTF-8", aliases_utf8, highhalf_utf8, table_utf8, 0},
{"Big5", aliases_big5, highhalf_big5, table_big5, 1},
{"Big5", aliases_big5, highhalf_NULL, table_NULL, 1},
{NULL, NULL, NULL, 0}
};