summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.org>2008-08-07 16:20:30 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-05-11 19:02:53 +0100
commit33a70cfad02d21a40553d56accfb6162d7c8d8ac (patch)
tree02157576b1c00531f8bc3bd3c7439a2bba0d6146 /sys
parentf8c76291dab70061f37173443174b854f27ead0d (diff)
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Original commit message from CVS: Patch by: Frederic Crozat <fcrozat@mandriva.org> * ext/sndfile/gstsf.c: (plugin_init): * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_plugin_init): * sys/oss4/oss4-audio.c: (plugin_init): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Diffstat (limited to 'sys')
-rw-r--r--sys/oss4/oss4-audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/oss4/oss4-audio.c b/sys/oss4/oss4-audio.c
index a2404cc88..0a3c0af1e 100644
--- a/sys/oss4/oss4-audio.c
+++ b/sys/oss4/oss4-audio.c
@@ -700,6 +700,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
/* we want a higher rank than the legacy OSS elements have now */