Mercurial > pidgin
changeset 4600:7b2c6b8a6a08
[gaim-migrate @ 4885]
This is a silly little fix from Paco-Paco. He makes me feel like a
school girl again. Boy. School boy. He makes me feel like a
school boy.
...
Is this awkward for anyone else?
...
I'll be in my corner...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 22 Feb 2003 02:08:45 +0000 |
parents | 221fb7143cd4 |
children | 203741ac86b3 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Feb 22 01:08:51 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sat Feb 22 02:08:45 2003 +0000 @@ -3311,7 +3311,7 @@ flags = check_encoding (gc->account->user_info); if (flags == 0) { - aim_bos_setprofile(sess, fr->conn, "us-ascii", gc->account->user_info, + aim_bos_setprofile(sess, fr->conn, "us-ascii", gc->account->user_info, strlen(gc->account->user_info), NULL, NULL, 0, caps_aim); } else { unicode = g_convert (gc->account->user_info, strlen(gc->account->user_info), @@ -5446,7 +5446,8 @@ return 0; } charset += 8; - if (!strcmp(charset, "\"us-ascii\"")) { + if (!strcmp(charset, "\"us-ascii\"") || !strcmp(charset, "\"utf-8\"")) { + /* UTF-8 is our native charset, ASCII is a proper subset */ return 0; } else if (!strcmp(charset, "\"iso-8859-1\"")) { return AIM_IMFLAGS_ISO_8859_1;