From 106b2a7a379d6ce02610ab2b8f1f54e487cf54a6 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 7 Aug 2008 16:20:30 +0000 Subject: 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 * 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). --- sys/oss4/oss4-audio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/oss4') diff --git a/sys/oss4/oss4-audio.c b/sys/oss4/oss4-audio.c index a2404cc8..0a3c0af1 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 */ -- cgit v1.2.1