Hi,
attached is modified implementation of ISO 6937 support for DVB EPG. Original implementation comes from here (user "zdar"). I've changed the integration of the ISO 6937 converter with the EpgGrabber, so that it does not influence any other languages than Czech language. The converter itself (new class Iso6937ToUnicode) was left untouched (only renamed to follow proper naming rules). The solution presumes that Czech language is always encoded in ISO 6937, which seems to be the case, however better solution would be to add possibility to select encoding for each language manually in MediaPortal configuration (per multiplex, per channel and with proper defaults). Also, if there is any other language using ISO 6937 encoding, it currently must be hard-coded into EpgGrabber.cs to make it work.
This patch solves bug 1433034. The bug was also discussed here.
If the implementation passes the tests, please, submit it to the svn repository as soon as possible. I think there are many people in Czech Republic looking forward to it.
Thanks,
Muad
attached is modified implementation of ISO 6937 support for DVB EPG. Original implementation comes from here (user "zdar"). I've changed the integration of the ISO 6937 converter with the EpgGrabber, so that it does not influence any other languages than Czech language. The converter itself (new class Iso6937ToUnicode) was left untouched (only renamed to follow proper naming rules). The solution presumes that Czech language is always encoded in ISO 6937, which seems to be the case, however better solution would be to add possibility to select encoding for each language manually in MediaPortal configuration (per multiplex, per channel and with proper defaults). Also, if there is any other language using ISO 6937 encoding, it currently must be hard-coded into EpgGrabber.cs to make it work.
This patch solves bug 1433034. The bug was also discussed here.
If the implementation passes the tests, please, submit it to the svn repository as soon as possible. I think there are many people in Czech Republic looking forward to it.
Thanks,
Muad