Mercurial > pidgin.yaz
changeset 7199:aeaa751d32f7
[gaim-migrate @ 7768]
This should fix a bug a user had with displaying Chinese messages. It
should work just dandy. Thanks Ambrose C. LI.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 09 Oct 2003 00:03:18 +0000 |
parents | 78f3252e9d10 |
children | 2ddd145c9420 |
files | ChangeLog src/protocols/msn/msn.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Oct 08 23:27:22 2003 +0000 +++ b/ChangeLog Thu Oct 09 00:03:18 2003 +0000 @@ -22,11 +22,12 @@ longer attempt to load the same, possibly incompatible plugins (Robert McQueen) * Implemented another new Yahoo! authentication method + * Fixed a bug displaying Chinese MSN messages (Ambrose C. LI). * Massive core/UI splitting. * Re-write of Jabber protocol plugin * Conversation API changes. - * Some plugins must be updated due to code variable changes, - function name changes, and change of behavior for certain + * Some plugins must be updated due to code variable changes, + function name changes, and change of behavior for certain functions. * Chinese (Simplified) translation updated (Funda Wang) * Chinese (Traditional) translation updated (Ambrose C. Li)
--- a/src/protocols/msn/msn.c Wed Oct 08 23:27:22 2003 +0000 +++ b/src/protocols/msn/msn.c Thu Oct 09 00:03:18 2003 +0000 @@ -502,7 +502,7 @@ msg = msn_message_new(); msn_message_set_receiver(msg, user); msn_message_set_attr(msg, "X-MMS-IM-Format", - "FN=Arial; EF=; CO=0; PF=0"); + "FN=MS%20Sans%20Serif; EF=; CO=0; PF=0"); msn_message_set_body(msg, message); if (swboard != NULL) { @@ -1006,7 +1006,8 @@ send = gaim_str_add_cr(message); msg = msn_message_new(); - msn_message_set_attr(msg, "X-MMS-IM-Format", "FN=Arial; EF=; CO=0; PF=0"); + msn_message_set_attr(msg, "X-MMS-IM-Format", + "FN=MS%20Sans%20Serif; EF=; CO=0; PF=0"); msn_message_set_body(msg, send); g_free(send);