From 63daceea64bbb0b65b97305c5ecbd64411b2e1ff Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 18 Jan 2007 12:52:26 +0000 Subject: force UTF-8 handling of i18n files at run time git-svn-id: svn://localhost/ardour2/trunk@1358 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/main.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 9977dab79f..2fd8e0c920 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -367,6 +367,11 @@ int main (int argc, char *argv[]) gtk_set_locale (); (void) bindtextdomain (PACKAGE, LOCALEDIR); + /* our i18n translations are all in UTF-8, so make sure + that even if the user locale doesn't specify UTF-8, + we use that when handling them. + */ + (void) bind_textdomain_codeset (PACKAGE,"UTF-8"); (void) textdomain (PACKAGE); pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, 0); -- cgit v1.2.3