diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c index 48c81002ac..2bd50753a8 100644 --- a/gst/avi/gstavi.c +++ b/gst/avi/gstavi.c @@ -37,6 +37,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 */ if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY, diff --git a/gst/qtdemux/quicktime.c b/gst/qtdemux/quicktime.c index dc92fcff4d..97888345b0 100644 --- a/gst/qtdemux/quicktime.c +++ b/gst/qtdemux/quicktime.c @@ -33,6 +33,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 */ /* ensure private tag is registered */