changeset 8955:eb3c59b0a16c

[gaim-migrate @ 9728] This makes characters we can't convert to iso-8859-1 turn into ?'s instead of unicode escape things like \x{xxxx}. I decided this was slightly less ugly, but it still sucks. It only happens for status messages and group names and the like, btw. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 16 May 2004 18:35:42 +0000
parents c60f82d78dea
children 579e24fe95c3
files src/protocols/yahoo/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/util.c	Sun May 16 17:46:27 2004 +0000
+++ b/src/protocols/yahoo/util.c	Sun May 16 18:35:42 2004 +0000
@@ -52,7 +52,7 @@
 
 	to_codeset = "ISO-8859-1";
 
-	ret = g_convert_with_fallback(str, strlen(str), to_codeset, "UTF-8", NULL, NULL, NULL, NULL);
+	ret = g_convert_with_fallback(str, strlen(str), to_codeset, "UTF-8", "?", NULL, NULL, NULL);
 	if (ret)
 		return ret;
 	else