EPG correct showing for channels and programes

avp3

Registered
Messages
38
I am in China and DM800C is used. Because GBK in stead of unicode is applied in the cable, DM800C cannot correctly show the EPG. An expert in china, whose name is roy0801, uses a dictionary to transfer the GBK to UTF8 and EPG can be shown correctly. Below is an example for event name. The modified file is EventName.py.

if self.type == self.NAME:
+ return transkey(event.getEventName())
- return event.getEventName()
elif self.type == self.SHORT_DESCRIPTION:
+ return transkey(event.getShortDescription())
- return event.getShortDescription()
elif self.type == self.EXTENDED_DESCRIPTION:
+ return transkey(event.getExtendedDescription())
- return event.getExtendedDescription()

A function transkey() is applied to transfer the incorrect data to an correct one.

However, for the timer and channel selection parts the EPGs are incorrect shown, just as following pictures illustrate. The highlight parts with read box are incorrect ones.


Could some one help me to make them correctly shown? I want to know which file (such as EventName.py) and which item (such as event.getEventName()) should be modified? Thank you for your kind help.
 
Last edited:
Top