comparison src/protocols/oscar/oscar.c @ 10096:2923a6c59192

[gaim-migrate @ 11118] Evan Schoenberg caught this. My bad. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 14 Oct 2004 03:25:40 +0000
parents 9fdbfe832fac
children 158950e7996d
comparison
equal deleted inserted replaced
10095:b28f9be379b3 10096:2923a6c59192
383 } else if (!strcmp(encoding, "unicode-2-0")) { 383 } else if (!strcmp(encoding, "unicode-2-0")) {
384 utf8 = g_convert(text, textlen, "UTF-8", "UCS-2BE", NULL, NULL, NULL); 384 utf8 = g_convert(text, textlen, "UTF-8", "UCS-2BE", NULL, NULL, NULL);
385 385
386 } else if (strcmp(encoding, "us-ascii") && strcmp(encoding, "utf-8")) { 386 } else if (strcmp(encoding, "us-ascii") && strcmp(encoding, "utf-8")) {
387 gaim_debug_warning("oscar", "Unrecognized character encoding \"%s\", " 387 gaim_debug_warning("oscar", "Unrecognized character encoding \"%s\", "
388 "attempting to convert to UTF-8 anyway\n"); 388 "attempting to convert to UTF-8 anyway\n", encoding);
389 utf8 = g_convert(text, textlen, "UTF-8", encoding, NULL, NULL, NULL); 389 utf8 = g_convert(text, textlen, "UTF-8", encoding, NULL, NULL, NULL);
390 } 390 }
391 391
392 /* 392 /*
393 * If utf8 is still NULL then either the encoding is us-ascii/utf-8 or 393 * If utf8 is still NULL then either the encoding is us-ascii/utf-8 or