tvheadend/tvheadend — pull request #155 by skazi0 (2012-10-02 19:11:53+00:00)
Title: change behavior of dvb_default_charset

Yet another polish EPG fix.
Currently default_charset is used only when there's no charset declared in dvb strings. It overrides default ISO6937 for such cases. It probably works as expected but is not flexible enough for my weird setup :o)
What I got from my cable is *incorrect* declaration of charset. Some strings are actually ISO6937 but first bytes suggest that it's one of ISO8859* charsets.
For such cases I changed dvb_default_charset to dvb_charset. In my version it goes through the auto-detection just like before introduction of dvb_default_charset (defaulting to ISO6937). After that, IF there is some dvb_charset defined, it overrides the auto-detected value.
In webui default shows as 'auto' and you can force ISO6937 for cases described above so the behavior is a bit different than before, when default and ISO6937 were more or less the same.
Hope you find the change worth pulling :o)