Mercurial > pidgin.yaz
changeset 9831:0d02a51ea1c3
[gaim-migrate @ 10702]
Make non-ascii aim chat messages work again
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 22 Aug 2004 22:21:20 +0000 |
parents | 2e3c63811475 |
children | 54e0322c81fb |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Aug 22 21:30:53 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sun Aug 22 22:21:20 2004 +0000 @@ -6421,6 +6421,12 @@ return -E2BIG; } + if (charset == AIM_CHARSET_ASCII) + charsetstr = "us-ascii"; + else if (charset == AIM_CHARSET_UNICODE) + charsetstr = "unicode-2-0"; + else if (charset == AIM_CHARSET_CUSTOM) + charsetstr = "iso-8859-1"; aim_chat_send_im(od->sess, c->conn, 0, buf2, len, charsetstr, "en"); g_free(buf2);