Re: [Kalug] gaim 中文支援
Rex Tsai wrote:
> 新版的 gaim 已經加進 libiconv 支援,因此 MSN 可以正確的輸入並讀取訊息
> 但是剛剛發現 Yahoo messager 還是吐出 UTF8 字串,因此沒辦法閱讀。
> 有朋友也有相同的問題嗎 ?
一行 Code 解決。有空再包新的 Debian package.
Index: yahoo.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
retrieving revision 1.43.2.1
diff -u -u -r1.43.2.1 yahoo.c
--- yahoo.c 30 Aug 2002 11:54:54 -0000 1.43.2.1
+++ yahoo.c 31 Aug 2002 10:32:42 -0000
@@ -589,6 +589,7 @@
msg[j++] = m[i];
}
msg[j] = 0;
+ msg = utf8_to_str(msg);
serv_got_im(gc, from, msg, 0, tm, -1);
} else if (pkt->status == 2) {
do_error_dialog(_("Your message did not get sent."), _("Gaim -
Error"));
--
-Rex, geek by nature linux by choice
Reply to:
- References:
- gaim 中文支援
- From: Rex Tsai <chihchun@kalug.linux.org.tw>