X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FChannelSelection.py;h=688fe50228b4ef6723c3227bf06659ca8cee5ea3;hp=912d67843dadfd08e2142dd237594ba5b7797175;hb=7432d2553c305b2f292e5d6fcc08d5777cae44ad;hpb=b9c74c31ba84d9c8a2c561cd69c5132eff74f19f diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py old mode 100644 new mode 100755 index 912d678..688fe50 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -1074,7 +1074,13 @@ class ChannelSelectionBase(Screen): self.servicelist.moveToChar(charstr[0]) def keyAsciiCode(self): - unichar = unichr(getPrevAsciiCode()) + #unichar = unichr(getPrevAsciiCode()) + from Components.config import getCharValue + unichar = getCharValue(getPrevAsciiCode()) + if unichar is None: + return + if len(str(unichar)) > 1: + return charstr = unichar.encode("utf-8") if len(charstr) == 1: self.servicelist.moveToChar(charstr[0])