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
|
$NetBSD: patch-ad,v 1.1.1.1 2002/06/15 09:31:39 shell Exp $
--- src/config.c.orig Mon Jun 10 22:53:45 2002
+++ src/config.c
@@ -388,7 +388,7 @@
if(method == cur_inputmethod) return;
//change the encoding for later use
- if(!strcmp(chinputime[method].encoding, "GB"))
+ if(!strcmp(chinputime[method].encoding, "eucCN"))
HZServer.encoding = HZSERVER_ENCODING_GB;
else
HZServer.encoding = HZSERVER_ENCODING_BIG5;
@@ -681,7 +681,7 @@
if(HZServer.encoding == HZSERVER_ENCODING_GB){
for(i=0; i<index_ime; i++){
if(!strcmp(chinputime[i].name, imd) &&
- !strcmp(chinputime[i].encoding, "GB")){
+ !strcmp(chinputime[i].encoding, "eucCN")){
return i;
}
}
@@ -738,7 +738,7 @@
//chinput_imserver = IMM_OpenClient("127.0.0.1", 9010);
cur_inputmethod = id;
- if(!strcmp(chinputime[cur_inputmethod].encoding, "GB"))
+ if(!strcmp(chinputime[cur_inputmethod].encoding, "eucCN"))
HZServer.encoding = HZSERVER_ENCODING_GB;
else
HZServer.encoding = HZSERVER_ENCODING_BIG5;
|