X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FChannelSelection.py;h=688fe50228b4ef6723c3227bf06659ca8cee5ea3;hb=9d9d69d8242d27915c95cb794bd4e7a93759b6db;hp=912d67843dadfd08e2142dd237594ba5b7797175;hpb=e9f6e4e8facac1243a8bbc93c704e4f2d1a28cc7;p=vuplus_dvbapp diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 912d678..688fe50 100755 --- 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])