# HG changeset patch # User Christian Hammond # Date 1054710917 0 # Node ID ec032cb2f9ecd39133b55bc4be4c0cfdc9bf542d # Parent 72ced741159948aa7df2c239e0b84330dc033b84 [gaim-migrate @ 6162] This probably doesn't fix problems when we display high ascii and stuff in the debug window, but it at least displays them now, I think.. just now it says it's not valid UTF-8. committer: Tailor Script diff -r 72ced7411599 -r ec032cb2f9ec src/gtkdebug.c --- a/src/gtkdebug.c Wed Jun 04 07:08:13 2003 +0000 +++ b/src/gtkdebug.c Wed Jun 04 07:15:17 2003 +0000 @@ -282,7 +282,7 @@ if (gaim_prefs_get_bool("/gaim/gtk/debug/enabled") && debug_win != NULL && !debug_win->paused) { - gchar *esc_s, *cat_s, *s; + gchar *esc_s, *cat_s, *utf8_s, *s; if (category == NULL) cat_s = g_strdup(""); @@ -296,9 +296,14 @@ g_free(esc_s); + utf8_s = gaim_try_conv_to_utf8(s); + g_free(s); + s = utf8_s; + if (level == GAIM_DEBUG_FATAL) { gchar *temp = s; + g_free(s); s = g_strdup_printf("%s", temp); g_free(temp); }