Re: Premiere UTF-8 fix for VDR 1.5.1+

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

 



On 06/28/07 15:41, Stefan Taferner wrote:
> Hi all,
> 
> Here is a small patch for all Premiere watchers who want to use UTF-8
> encoding.
> 
> The patch simply changes the default character set that is used when
> no encoding is broadcasted.
> 
> Kind regards,
> Stefan
> 
> 
> ------------------------------------------------------------------------
> 
> --- libsi/si.c.orig	2007-06-28 14:37:28.000000000 +0200
> +++ libsi/si.c	2007-06-28 14:35:45.000000000 +0200
> @@ -340,5 +340,6 @@
>  // and length are adjusted accordingly.
>  static const char *getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte = NULL) {
> -   const char *cs = "ISO6937";
> +   //   const char *cs = "ISO6937";
> +   const char *cs = "ISO8859-15";
>     if (isSingleByte)
>        *isSingleByte = false;

Well, this might cause problems on channels that do adhere to the
standard and actually broadcast their EPG data in ISO6937.

Maybe somebody should call Premiere and complain to them. After all,
it's them who are not following the standard ;-)

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