From eea9762ed01db254f9936bcd8708c73fc6a1678e Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 18 Feb 2013 17:09:30 -0800 Subject: [PATCH] fixed segfault of g_markup_printf_escaped which needs utf-8 strings defined text-domain as utf-8 solved this --- gtk/xboard.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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 -- 1.7.0.4