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
--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to:
- References:
- gaim 中文支援
- From: Rex Tsai <chihchun@kalug.linux.org.tw>