[vdr] external EPG data & broken encoding (epg4vdr)
zzam at gentoo.org
Wed Apr 16 14:45:36 CEST 2008
On Mittwoch, 16. April 2008, Soeren Sonnenburg wrote:
> Dear List,
> I am desperately trying to get the german umlauts going for both vdr
> receiving EPG information (out of the air directly from the channels...)
> and via epg4vdr 0.5
> I've noticed that standard EPG has the correct encoding, but only the
> one from epg4vdr has not. However the pulled .xml files still have the
> right (i.e. utf-8) encoding.
> Only when this information is transferred to vdr (I guess via SVDRP)
> umlauts and everything is distorted. Also then the dumped epgdata file
> contains wrongly encoded parts...
> Any ideas what I could do about this?
I guess you need to know the encoding your vdr runs with, and then use this
for the SVDRP connection.
For future VDR development I still think it could be useful to:
1. Either add a header for epg data (and other places where vdr exchanges
texts) telling the encoding.
2. or switch all external interfaces (epg.data, svdrp, channels.conf) to utf8.
3. going even further, switch vdr so that it internally only uses utf8 (or
utf16 if one can tell that is easier - I doubt). So all code that does
switch/case on the charset can be simplified.
More information about the vdr