mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst/gst.c: Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#5468...
Original commit message from CVS: Patch by: Frederic Crozat <fcrozat@mandriva.org> * gst/gst.c: (init_pre): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
This commit is contained in:
parent
b08cd83cbb
commit
f8cf146ed4
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
Patch by: Frederic Crozat <fcrozat@mandriva.org>
|
||||||
|
|
||||||
|
* gst/gst.c: (init_pre):
|
||||||
|
Make sure gettext returns translations in UTF-8 encoding rather
|
||||||
|
than in the current locale encoding (#546822).
|
||||||
|
|
||||||
2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
|
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
|
||||||
|
|
|
@ -585,6 +585,7 @@ init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif /* ENABLE_NLS */
|
#endif /* ENABLE_NLS */
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
|
|
Loading…
Reference in a new issue