$OpenBSD: patch-src_main_c,v 1.3 2008/04/22 08:57:24 jasper Exp $
--- src/main.c.orig	Sun Apr 20 09:48:45 2008
+++ src/main.c	Sun Apr 20 09:49:08 2008
@@ -98,9 +98,10 @@ int fhandle;
 
     appGUI->opt->options_counter = 0;
 
-    gtk_set_locale();
-    bindtextdomain(PACKAGE, LOCALEDIR);
-    textdomain(PACKAGE);
+    setlocale (LC_ALL, "");
+    bindtextdomain (PACKAGE, LOCALEDIR);
+    bind_textdomain_codeset (PACKAGE, "UTF-8");
+    textdomain (PACKAGE);
 
     if (argc != 1) {
         if (argc == 2 && !strncmp(argv[1], "-cal", 4) && strlen(argv[1]) == 4) {
