Make sure gettext returns translations in UTF-8 encoding rather than in the current...
[platform/upstream/gstreamer.git] / ext / esd / gstesd.c
index 71fc30b..dc65001 100644 (file)
@@ -47,6 +47,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 TRUE;