diff libpurple/protocols/msn/msg.c @ 25309:b0e069922896

Fixes #7373, the new live messenger client now sends Segoe UI as the default font. Also why did we send CS=86? That stands for GB2312 in the windows world and will request the client to find a gb2312 capable font, which is probably one of the reasons why it picked a poor font for rendering English. The official client sends CS=1 which means default, so I am going to follow that
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 11 Jan 2009 23:50:51 +0000
parents c09a647fd538
children ea98810d89c5 e841bad196e0
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Sun Jan 11 22:31:01 2009 +0000
+++ b/libpurple/protocols/msn/msg.c	Sun Jan 11 23:50:51 2009 +0000
@@ -120,7 +120,7 @@
 	msn_message_set_charset(msg, "UTF-8");
 	msn_message_set_flag(msg, 'A');
 	msn_message_set_attr(msg, "X-MMS-IM-Format",
-						 "FN=MS%20Sans%20Serif; EF=; CO=0; CS=86;PF=0");
+						 "FN=Segoe%20UI; EF=; CO=0; CS=1;PF=0");
 
 	message_cr = purple_str_add_cr(message);
 	msn_message_set_bin_data(msg, message_cr, strlen(message_cr));