Added some initial documentation.
[gedcom-parse.git] / gedcom / multilex.c
index 1b9ce6f27a7b4b496ea7f8abbf2abffd24d29f35..cff8608f049337a143c1dca78265807dfc7bcdad 100644 (file)
@@ -114,12 +114,13 @@ 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;
   file = fopen(file_name, "r");
   if (!file) {
-    gedcom_error(_("Could not open file '%s'\n"), file_name);
+    gedcom_error(_("Could not open file '%s'"), file_name);
   }
   else {
     init_encodings();