about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-07-02 00:15:34 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2021-07-02 00:15:34 +0000
commit35787b45f4cbf08d6e4d913e859a39a4e4369766 (patch)
tree01ee977a699ad9f78393fca6bef3888bc707b715 /src
parent811be0812233351687f2215e264eeb886a2a0060 (diff)
downloadlynx-snapshots-35787b45f4cbf08d6e4d913e859a39a4e4369766.tar.gz
snapshot of project "lynx", label v2-9-0dev_6l
Diffstat (limited to 'src')
-rw-r--r--src/UCAux.c8
-rw-r--r--src/UCdomap.c5
2 files changed, 9 insertions, 4 deletions
diff --git a/src/UCAux.c b/src/UCAux.c
index 9ae85b32..44495a61 100644
--- a/src/UCAux.c
+++ b/src/UCAux.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: UCAux.c,v 1.56 2021/06/30 16:53:30 tom Exp $
+ * $LynxId: UCAux.c,v 1.58 2021/07/01 23:34:24 tom Exp $
  */
 #include <HTUtils.h>
 
@@ -202,6 +202,8 @@ void UCSetTransParams(UCTransParams * pT, int cs_in,
 				 IS_CJK_TTY
 #ifdef EXP_CHINESEUTF8_SUPPORT
 				 || !strcmp(p_in->MIMEname, "euc-cn")
+				 || !strcmp(p_in->MIMEname, "big5")
+				 || !strcmp(p_in->MIMEname, "euc-kr")
 #endif
 			     )
 	    );
@@ -217,7 +219,9 @@ void UCSetTransParams(UCTransParams * pT, int cs_in,
 	     */
 	    pT->trans_to_uni = FALSE;
 #ifdef EXP_CHINESEUTF8_SUPPORT
-	    if (!strcmp(p_in->MIMEname, "euc-cn")) {
+	    if (!strcmp(p_in->MIMEname, "euc-cn") ||
+		!strcmp(p_in->MIMEname, "big5") ||
+		!strcmp(p_in->MIMEname, "euc-kr")) {
 		pT->trans_to_uni = (BOOL) UCCanUniTranslateFrom(cs_in);
 	    }
 #endif
diff --git a/src/UCdomap.c b/src/UCdomap.c
index 2ccc0a85..cb0db57b 100644
--- a/src/UCdomap.c
+++ b/src/UCdomap.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: UCdomap.c,v 1.109 2021/06/30 22:28:59 tom Exp $
+ * $LynxId: UCdomap.c,v 1.110 2021/07/01 23:37:52 tom Exp $
  *
  *  UCdomap.c
  *  =========
@@ -1571,7 +1571,8 @@ int UCGetLYhndl_byMIME(const char *value)
     }
 #endif
 #if !NO_CHARSET_euc_kr
-    if (!strcasecomp(value, "iso-2022-kr")) {
+    if ((!strcasecomp(value, "iso-2022-kr")) ||
+	(!strcasecomp(value, "ks_c_5601-1987"))) {
 	return UCGetLYhndl_byMIME("euc-kr");
     }
 #endif