summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 51a29bbb17..e7ede36b39 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);