From: Arun Persaud Date: Tue, 19 Feb 2013 01:09:30 +0000 (-0800) Subject: fixed segfault of g_markup_printf_escaped which needs utf-8 strings X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=eea9762ed01db254f9936bcd8708c73fc6a1678e;p=xboard.git fixed segfault of g_markup_printf_escaped which needs utf-8 strings defined text-domain as utf-8 solved this --- diff --git a/gtk/xboard.c b/gtk/xboard.c index 88d6557..a4f721d 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -732,6 +732,7 @@ main (int argc, char **argv) // } bindtextdomain(PACKAGE, LOCALEDIR); + bind_textdomain_codeset(PACKAGE, "UTF-8"); // needed when creating markup for the clocks textdomain(PACKAGE); #endif