fixed segfault of g_markup_printf_escaped which needs utf-8 strings
[xboard.git] / 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