summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/esd/gstesd.c1
-rw-r--r--ext/flac/gstflac.c1
-rw-r--r--ext/shout2/gstshout2.c1
-rw-r--r--ext/wavpack/gstwavpack.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/ext/esd/gstesd.c b/ext/esd/gstesd.c
index 71fc30bb..dc650014 100644
--- a/ext/esd/gstesd.c
+++ b/ext/esd/gstesd.c
@@ -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;
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 7d76a41c..a198279f 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -35,6 +35,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
if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE,
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c
index 1285ced1..4a103172 100644
--- a/ext/shout2/gstshout2.c
+++ b/ext/shout2/gstshout2.c
@@ -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,
diff --git a/ext/wavpack/gstwavpack.c b/ext/wavpack/gstwavpack.c
index 580d658e..6045717c 100644
--- a/ext/wavpack/gstwavpack.c
+++ b/ext/wavpack/gstwavpack.c
@@ -41,6 +41,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
return (gst_wavpack_parse_plugin_init (plugin)