Make sure gettext returns translations in UTF-8 encoding rather than in the current...
[platform/upstream/gstreamer.git] / sys / oss / gstossaudio.c
index 69c6745..aa70b09 100644 (file)
@@ -48,6 +48,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 /* ENABLE_NLS */
 
   return TRUE;