# HG changeset patch # User Mark Doliner # Date 1041470301 0 # Node ID 481c5115962764d2e051c7b622c49fab4edc6af9 # Parent 07a3d1fae88f05f10a870260817681642071f7d5 [gaim-migrate @ 4395] Yay for Paco-Paco and ISO 8859-1 in away messages and info!!! committer: Tailor Script diff -r 07a3d1fae88f -r 481c51159627 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Wed Jan 01 03:19:08 2003 +0000 +++ b/src/protocols/oscar/oscar.c Thu Jan 02 01:18:21 2003 +0000 @@ -2646,6 +2646,9 @@ case 0: utf8 = g_strndup(text, text_len); break; + case AIM_IMFLAGS_ISO_8859_1: + utf8 = g_convert(text, text_len, "UTF-8", "ISO-8859-1", NULL, NULL, NULL); + break; case AIM_IMFLAGS_UNICODE: utf8 = g_convert(text, text_len, "UTF-8", "UCS-2BE", NULL, NULL, NULL); break; @@ -5006,6 +5009,8 @@ charset += 8; if (!strcmp(charset, "\"us-ascii\"")) { return 0; + } else if (!strcmp(charset, "\"iso-8859-1\"")) { + return AIM_IMFLAGS_ISO_8859_1; } else if (!strcmp(charset, "\"unicode-2-0\"")) { return AIM_IMFLAGS_UNICODE; } else {