comparison libpurple/protocols/yahoo/yahoochat.c @ 27821:3a305a4511ea

roomname should be in utf8
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 17 Apr 2008 17:02:07 +0000
parents c65c96e231b5
children acef4202e147
comparison
equal deleted inserted replaced
27820:e0a04ba10ae1 27821:3a305a4511ea
914 914
915 msg2 = yahoo_html_to_codes(msg1); 915 msg2 = yahoo_html_to_codes(msg1);
916 g_free(msg1); 916 g_free(msg1);
917 msg1 = yahoo_string_encode(gc, msg2, &utf8); 917 msg1 = yahoo_string_encode(gc, msg2, &utf8);
918 g_free(msg2); 918 g_free(msg2);
919 room2 = yahoo_string_encode(gc, room, NULL); 919 room2 = yahoo_string_encode(gc, room, &utf8);
920 920
921 pkt = yahoo_packet_new(YAHOO_SERVICE_COMMENT, YAHOO_STATUS_AVAILABLE, 0); 921 pkt = yahoo_packet_new(YAHOO_SERVICE_COMMENT, YAHOO_STATUS_AVAILABLE, 0);
922 922
923 yahoo_packet_hash(pkt, "sss", 1, dn, 104, room2, 117, msg1); 923 yahoo_packet_hash(pkt, "sss", 1, dn, 104, room2, 117, msg1);
924 if (me) 924 if (me)