From 6c3f98698bd9db6abc7641501d6c1ab96a97797a Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 15 Dec 2001 13:42:49 +0000 Subject: [PATCH] Make sure that gettext uses UTF-8 as target encoding. --- gedcom/multilex.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2