Re: wrong characters in EPG (vdr-1.5.18)

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

 



On 03/19/08 11:11, Éric Laly wrote:
> Klaus Schmidinger a écrit :
>> On 03/19/08 10:51, Éric Laly wrote:
>>> Hello all,
>>>
>>> I've rebuilt my vdr with two DVB-T cards.
>>> Until then it was running with a very old vdr (1.3) and DVB-S.
>>> My locale was set to fr_FR in order to have the good charset and 
>>> everything was fine (vdr menu and EPG in french).
>>>
>>> With the new 1.5 series I've understood that vdr now supports unicode 
>>> (since 1.5.12 ?) so my locale is now set to fr_FR.UTF-8.
>>> The vdr menus are in french and the accentuated character are good ( é, 
>>> è, î, à ...) but in the EPG the accentuated characters are wrong with 
>>> some channels.
>>> For exemple now, the EPG is showing "l'odyssøe" instead of "l'odyssée" 
>>> on ARTE but is showing "Bien-être" on direct8 (which are the good 
>>> characters).
>> Does the problem persist if you stop VDR, delete the epg.data file, and
>> restart it?
> I've just tried and unfortunately yes.

Please do this

--- libsi/si.c  2008/03/05 17:00:55     1.25
+++ libsi/si.c  2008/03/19 21:30:47
@@ -416,6 +416,10 @@
     // FIXME Need to make this UTF-8 aware (different control codes).
     // However, there's yet to be found a broadcaster that actually
     // uses UTF-8 for the SI data... (kls 2007-06-10)
+   if (size > 20) {
+      to = stpcpy(to, cs);
+      to = stpcpy(to, "@");
+      }
     for (int i = 0; i < len; i++) {
        if (*from == 0)
           break;

and check which encodings are listed in EPG strings for ARTE and
direct8.

Have you set VDR_CHARSET_OVERRIDE?

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux