X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fmultilex.c;h=cff8608f049337a143c1dca78265807dfc7bcdad;hb=d831ac6ddba5b5940e0c3a7a1581e57188d84053;hp=8473624bad70c4c75899b715de7229b241788e9f;hpb=057bd8173b055b22794d7e544a1b6ddd4f60ff96;p=gedcom-parse.git diff --git a/gedcom/multilex.c b/gedcom/multilex.c index 8473624..cff8608 100644 --- a/gedcom/multilex.c +++ b/gedcom/multilex.c @@ -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;