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();