diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-03-25 15:42:15 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-03-25 15:42:15 +0000 |
commit | 2199592039d14e9168704a63bfb9f9457b92e5db (patch) | |
tree | 37d9b0cddda1280ea8b2dde4d7e9bb8d74b30041 | |
parent | 4bcd50ccbdc5b34d200d898875a35ef59ab1c10b (diff) |
i18n: make sure gettext gives us UTF-8 at all times
-rw-r--r-- | gst/avi/gstavi.c | 1 | ||||
-rw-r--r-- | gst/qtdemux/quicktime.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c index 48c81002..2bd50753 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 dc92fcff..97888345 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 */ |