mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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>
|
||||
|
||||
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
|
||||
|
|
|
@ -585,6 +585,7 @@ init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
#ifdef ENABLE_NLS
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
#endif /* ENABLE_NLS */
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
|
|
Loading…
Reference in a new issue