mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
i18n: make sure gettext gives us UTF-8 at all times
This commit is contained in:
parent
4bcd50ccbd
commit
2199592039
2 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue