From 6bc5f296765ec4e42739329bcf1a08ee7c2a5e0b Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 27 Jan 2005 18:14:50 +0000 Subject: [PATCH] Replace the textdomain call with bind_textdomain_codeset 2005-01-27 Christophe Fergeau * libebook/e-contact.c (e_contact_pretty_name): Replace the textdomain call with bind_textdomain_codeset Fixes #71116 --- addressbook/ChangeLog | 7 +++++++ addressbook/libebook/e-contact.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 7c0ff39..22c3ab1 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2005-01-27 Christophe Fergeau + + * libebook/e-contact.c (e_contact_pretty_name): + Replace the textdomain call with bind_textdomain_codeset + + Fixes #71116 + 2005-01-24 Hans Petter Jansson * libebook/e-destination.c (e_destination_set_contact): Ref the new diff --git a/addressbook/libebook/e-contact.c b/addressbook/libebook/e-contact.c index 68d4d37..be3ace4 100644 --- a/addressbook/libebook/e-contact.c +++ b/addressbook/libebook/e-contact.c @@ -1366,7 +1366,7 @@ e_contact_pretty_name (EContactField field_id) #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR); - textdomain (GETTEXT_PACKAGE); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif for (i = 0; i < G_N_ELEMENTS (field_info); i ++) { -- 2.7.4