i18n: make sure gettext gives us UTF-8 at all times
This commit is contained in:
parent
4bcd50ccbd
commit
2199592039
@ -37,6 +37,7 @@ plugin_init (GstPlugin * plugin)
|
|||||||
#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 */
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
||||||
|
@ -33,6 +33,7 @@ plugin_init (GstPlugin * plugin)
|
|||||||
#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 */
|
||||||
|
|
||||||
/* ensure private tag is registered */
|
/* ensure private tag is registered */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user