From 01bfc79766d2ef796fab00b85acbc1ccbe8bdf96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 30 Jan 2014 21:18:04 +0100 Subject: [PATCH] gst-play: Support non-ASCII tags By calling setlocale() to get us multi-byte/UTF-8 support. https://bugzilla.gnome.org/show_bug.cgi?id=723164 --- tools/gst-play.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/gst-play.c b/tools/gst-play.c index ca3a0c8b00..358243937a 100644 --- a/tools/gst-play.c +++ b/tools/gst-play.c @@ -23,6 +23,8 @@ #include "config.h" #endif +#include + #include #include #include @@ -643,6 +645,8 @@ main (int argc, char **argv) {NULL} }; + setlocale (LC_ALL, ""); + #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");