fixed segfault of g_markup_printf_escaped which needs utf-8 strings
authorArun Persaud <arun@nubati.net>
Tue, 19 Feb 2013 01:09:30 +0000 (17:09 -0800)
committerArun Persaud <arun@nubati.net>
Tue, 19 Feb 2013 01:09:30 +0000 (17:09 -0800)
defined text-domain as utf-8 solved this

gtk/xboard.c

index 88d6557..a4f721d 100644 (file)
@@ -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