Make sure gettext returns translations in UTF-8 encoding rather than in the current...
[platform/upstream/gstreamer.git] / sys / v4l2 / gstv4l2.c
index a65f7c1..15602b9 100644 (file)
@@ -56,6 +56,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;