From 35787b45f4cbf08d6e4d913e859a39a4e4369766 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 2 Jul 2021 00:15:34 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_6l --- src/UCAux.c | 8 ++++++-- src/UCdomap.c | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'src') 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 @@ -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 -- cgit 1.4.1-2-gfad0 p;id=31cb01daf4c481736e151dde88d1ec55005f6347'>diff stats
blob: b6934b1e80c612ad2b6dbc3488cc7eb735f1eb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118