[ANNOUNCE] UTF-8 patch 0.0.3 with Freetype2, enAIO for vdr-1.3.24

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

 



Am Sonntag, 15. Mai 2005 19:05 schrieb Ludwig Nussel:
> Ludwig Nussel wrote:
> > Lars Altenhain wrote:
> > > thanks for this patch. Finally the mp3 plugin can display the correct
> > > names of the mp3s.
> > >
> > > My vdr runs since 2 days with this patch and I have found only a small
> > > error :-) If vdr is allows to update the channel names, the names
> > > revert back to the ISO8859 encoded version. The transmitted channel
> > > names are not converted to utf8 before they are stored in the config
> > > data. The attached patch fixes this.
> >
> > It cannot work this way, you blindly recode iso-8859-1 to utf8.
> > Judging from how xawtv does it each dvb string tells it's encoding.
> > Therefore the central place to recode all strings must be
> > decodeText() in libsi/si.c. That also means that the encoding does
> > not need to be configured via channels.conf.
>
> I've ripped the code from xawtv and put it into libsi. Seems to work
> fine but someone with non-german stations should probably try it to
> actually prove that.
>
For german stations this works so far, but maybe we are just lucky to get our 
EPG data in the encoding which is the default for the code from xawtv. 

While trying to get the text2skin plugin to work with an UTF8 patched vdr I 
needed to make some changes to the Freetype part of the patch. Attached is 
the updated UTF-8 patch containing this changes, as well as the changes from 
Ludwig and a patch for text2skin-1.0.

Due to the changes in the freetype part I also changed the default sizes for 
the fonts from 16, 12 and 15 to 24, 18 and 22.

Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text2skin-1.0_utf_0.0.1.diff
Type: text/x-diff
Size: 908 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050516/3dcae499/text2skin-1.0_utf_0.0.1-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.3.24-utf8-0.0.3b.patch.gz
Type: application/x-gzip
Size: 14687 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050516/3dcae499/vdr-1.3.24-utf8-0.0.3b.patch-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.3.24-utf8_enAIO-0.0.3b.patch.gz
Type: application/x-gzip
Size: 23795 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050516/3dcae499/vdr-1.3.24-utf8_enAIO-0.0.3b.patch-0001.bin

[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