From f2c1f915082f27af5e05c06985faddbda5e2e878 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 28 Jan 2014 14:28:27 +0100 Subject: [PATCH] gst-discoverer: 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-discoverer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c index 059d3d7782..678c5e8aa3 100644 --- a/tools/gst-discoverer.c +++ b/tools/gst-discoverer.c @@ -21,6 +21,8 @@ #include "config.h" #endif +#include + #include #include #include @@ -532,6 +534,8 @@ main (int argc, char **argv) }; GOptionContext *ctx; + setlocale (LC_ALL, ""); + ctx = g_option_context_new ("- discover files synchronously with GstDiscoverer");