Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/family_icbm.c @ 27803:8dfe3a985fc1
replaced deprecated UCS-2BE with UTF-16BE
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 19 Mar 2008 19:16:07 +0000 |
parents | 9cd7892b2c8b |
children | 80d3f4ff1cae |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_icbm.c Mon Mar 17 07:20:59 2008 +0000 +++ b/libpurple/protocols/oscar/family_icbm.c Wed Mar 19 19:16:07 2008 +0000 @@ -536,7 +536,7 @@ aim_tlvlist_add_raw(&inner_tlvlist, 0x000d, 11, (guint8 *)"unicode-2-0"); aim_tlvlist_add_noval(&inner_tlvlist, 0x000f); //yaz - ucs = g_convert(msg, strlen(msg), "UCS-2BE", "UTF-8", NULL, &bytes, NULL); + ucs = g_convert(msg, strlen(msg), "UTF-16BE", "UTF-8", NULL, &bytes, NULL); if(ucs){ botch_ucs(ucs, bytes); aim_tlvlist_add_raw(&inner_tlvlist, 0x000c, bytes, (guint8 *)ucs);