[totem-pl-parser] videosite: Print non-ASCII characters correctly



commit 4fff5ca097845127cc714ed8a5ccff16c5f3acf3
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 28 14:52:27 2014 +0100

    videosite: Print non-ASCII characters correctly

 plparse/videosite-parser.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plparse/videosite-parser.c b/plparse/videosite-parser.c
index 657e177..be374aa 100644
--- a/plparse/videosite-parser.c
+++ b/plparse/videosite-parser.c
@@ -21,6 +21,8 @@
 
 #include "config.h"
 
+#include <locale.h>
+
 #include <glib.h>
 #include <quvi.h>
 #include "totem-pl-parser.h"
@@ -158,6 +160,8 @@ int main (int argc, char **argv)
 {
        GOptionContext *context;
 
+       setlocale (LC_ALL, "");
+
        context = g_option_context_new (NULL);
        g_option_context_set_summary (context, "totem-pl-parser libquvi Helper");
        g_option_context_add_main_entries (context, options, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]