dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Xref on user defined record is optional.
[gedcom-parse.git]
/
gedcom
/
multilex.c
diff --git
a/gedcom/multilex.c
b/gedcom/multilex.c
index 1b9ce6f27a7b4b496ea7f8abbf2abffd24d29f35..cff8608f049337a143c1dca78265807dfc7bcdad 100644
(file)
--- a/
gedcom/multilex.c
+++ b/
gedcom/multilex.c
@@
-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);
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) {
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();
}
else {
init_encodings();