Make sure gettext returns translations in UTF-8 encoding rather than in the current...
[platform/upstream/gstreamer.git] / ext / alsa / gstalsaplugin.c
index 87a6aa5..38f16e2 100644 (file)
@@ -74,6 +74,7 @@ plugin_init (GstPlugin * plugin)
   GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
       LOCALEDIR);
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 #endif
 
   err = snd_lib_error_set_handler (gst_alsa_error_wrapper);