Make sure that gettext uses UTF-8 as target encoding.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 15 Dec 2001 13:42:49 +0000 (13:42 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 15 Dec 2001 13:42:49 +0000 (13:42 +0000)
gedcom/multilex.c

index 8473624bad70c4c75899b715de7229b241788e9f..cff8608f049337a143c1dca78265807dfc7bcdad 100644 (file)
@@ -114,6 +114,7 @@ int gedcom_parse_file(char* file_name)
   setlocale(LC_ALL, "");   /* In fact only necessary if main program doesn't
                              do this */
   bindtextdomain(PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset(PACKAGE, INTERNAL_ENCODING);
   textdomain(PACKAGE);
 
   line_no = 1;