Re: [vdr] [PATCH] Small change to correctly query the systems charset

2007-08-12 Thread Klaus Schmidinger
On 05/01/07 17:12, Matthias Schwarzott wrote: > 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 > > > > --

Re: [vdr] [PATCH] Small change to correctly query the systems charset

2007-05-06 Thread Johannes Stezenbach
On Sun, May 06, 2007 at 11:50:21AM +0200, Klaus Schmidinger wrote: > If I make this change and run VDR with > > export LANG=de_DE.iso8859-15 > > I get a NULL pointer from the setlocale(LC_CTYPE, "") call. > Only with > > export LANG=de_DE.iso8859-1 > > do I get a non-NULL result. > Am I missing

Re: [vdr] [PATCH] Small change to correctly query the systems charset

2007-05-06 Thread Klaus Schmidinger
On 05/01/07 17:12, Matthias Schwarzott wrote: > 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 > > > > --

Re: [vdr] [PATCH] Small change to correctly query the systems charset

2007-05-03 Thread Udo Richter
VDR User wrote: 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. Just curious, why would you need to query anything other than the environment LANG variable?

Re: [vdr] [PATCH] Small change to correctly query the systems charset

2007-05-01 Thread VDR User
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. Just curious, why would you need to query anything other than the environment LANG variable? If that tells y

[vdr] [PATCH] Small change to correctly query the systems charset

2007-05-01 Thread Matthias Schwarzott
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.