Bug #1775
EPG guide doesn't handle special character properly in Portuguese DVB-T broadcasts
0%
Description
The portuguese DVB-T broadcasts include special characters in the EPG that tvheadend doesn't handle properly. For example today there is a show that shows up as "Rex, O Cªo PolŦcia T12 - Ep. 2" instead of "Rex, O Cão Polícia T12 - Ep. 2". The program descriptions also have the same problems.
I'm running tvheadend 3.4.27~gfbda802~precise from apt.tvheadend.org/stable on Ubuntu 12.04.
Files
History
Updated by julio ferreira over 11 years ago
- File Captura de tela de 2013-08-04 10_06_17.png Captura de tela de 2013-08-04 10_06_17.png added
- File Captura de tela de 2013-08-04 10_02_22.png Captura de tela de 2013-08-04 10_02_22.png added
The same happens in DVB-C. The Local Provider (net serviços) has the same problem. Not only in EPG, but in channel names too.
Pedro Côrte-Real wrote:
The portuguese DVB-T broadcasts include special characters in the EPG that tvheadend doesn't handle properly. For example today there is a show that shows up as "Rex, O Cªo PolŦcia T12 - Ep. 2" instead of "Rex, O Cão Polícia T12 - Ep. 2". The program descriptions also have the same problems.
I'm running tvheadend 3.4.27~gfbda802~precise from apt.tvheadend.org/stable on Ubuntu 12.04.
Updated by Pedro Côrte-Real over 11 years ago
I just used tv_grab_dvb1 to test this. The solution was in a comment in dvb_text_iconv.c:
/* The spec says ISO-6937, but many stations get it wrong and use ISO-8859-1. */
Changing the next line to
char *iso6937_encoding = "ISO-8859-1";
and recompiling fixes the issue, so the solution for this feed would be to have an option in tvheadend to interpret the EPG as a different encoding.
Updated by Rodrigo Vigna about 11 years ago
I have a ugly workaround that "worked for me" until a month ago when the broadcast provider I use messed all up again.
Grab the git version, and change the following in src/dvb/dvb_support.c at line 269:
ic = convert_iso6937;
to
ic = convert_iso_8859[1];
Updated by nf gb about 11 years ago
As anyone figured out a "working" workaround for this? Or (hopefully) will we have to wait until the next release?
I had the same problem on my tv and the workaround was to set the country to spain and re-tune the channels. I don't know if there is an easy way of applying the same configuration to tvheadend.
Thank you.
Updated by Adam Sutton almost 11 years ago
- Status changed from New to Invalid
You can already manually override the character encoding used on muxes and services.
Adam
Updated by Pedro Côrte-Real almost 11 years ago
Where is that? I can't seem to find it in the interface. I'm running 3.4.27~gfbda802~precise
Updated by nf gb almost 11 years ago
Pedro Côrte-Real wrote:
Where is that? I can't seem to find it in the interface. I'm running 3.4.27~gfbda802~precise
Pedro, I think the option Adam means is under:
Configuration>DVB Inputs>TV Adapters>DVB charset (I'm running 3.4).
However I've changed mine from auto to ISO8859-1 but didn't see no effect. Should I restart the service?
The correct charset was ISO8859-1 or did I got it wrong?
Updated by nf gb almost 11 years ago
An update. I've forced the refresh of the epg guide, but strangely only some of the special characters were fixed, the others remain the same.
Updated by Pedro Côrte-Real almost 11 years ago
On my setup the setting is in Configuration>DVB Inputs>TV Adapters>DibCom 7000PC>Services and is a per-channel setting. After setting it on all the channels and restarting tvheadend the program guide seems correct. It would be nice if there was a setting at the Multiplex level so that if new channels pop up they get the correct setting without intervention.
nf gb, if not all the characters are correct you probably need some other iso8859-X. Check this table to see if there's one that's related to where you're from:
https://en.wikipedia.org/wiki/ISO/IEC_8859#The_Parts_of_ISO.2FIEC_8859
Updated by nf gb almost 11 years ago
Pedro,
On mine is also on channel level (maybe I didn't express myself very well - in portuguese would be a lot easier )
I'm also tuning Portuguese DVB-T (TDT). It is ok now. I've forced an additional refresh on the epg. The strange thing is that on the first refresh it didn't update all the entries.