summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/oss/gstossaudio.c1
-rw-r--r--sys/v4l2/gstv4l2.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index 69c6745a..aa70b094 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -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;
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c
index a65f7c16..15602b99 100644
--- a/sys/v4l2/gstv4l2.c
+++ b/sys/v4l2/gstv4l2.c
@@ -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;