From: Peter Verthez Date: Sat, 15 Dec 2001 13:42:49 +0000 (+0000) Subject: Make sure that gettext uses UTF-8 as target encoding. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=6c3f98698bd9db6abc7641501d6c1ab96a97797a;p=gedcom-parse.git Make sure that gettext uses UTF-8 as target encoding. --- 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;