Hi there!

This patch just changes charset querying to not only look at environment 
variable LANG, but respect all in correct order. So now I can overwrite 
charset setting with LC_CTYPE and LC_ALL.

Greetings
Matthias

-- 
Matthias Schwarzott (zzam)
diff -ru vdr-1.5.2-vanilla/vdr.c vdr-1.5.2/vdr.c
--- vdr-1.5.2-vanilla/vdr.c	2007-05-01 17:04:45.000000000 +0200
+++ vdr-1.5.2/vdr.c	2007-05-01 17:05:18.000000000 +0200
@@ -493,7 +493,7 @@
 
   // Set the system character table:
 
-  char *LangEnv = getenv("LANG");
+  char *LangEnv = setlocale(LC_CTYPE, "");
   if (LangEnv) {
      char *CodeSet = strchr(LangEnv, '.');
      if (CodeSet) {
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to