Make sure gettext returns translations in UTF-8 encoding rather than in the current...
[platform/upstream/gstreamer.git] / ext / shout2 / gstshout2.c
index 1285ced..4a10317 100644 (file)
@@ -758,6 +758,7 @@ plugin_init (GstPlugin * plugin)
 #ifdef ENABLE_NLS
   setlocale (LC_ALL, "");
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 #endif /* ENABLE_NLS */
 
   return gst_element_register (plugin, "shout2send", GST_RANK_NONE,