diff -r 23b45a742e17 -r 2fdc635b106a DebugClients/Python3/DebugClientBase.py --- a/DebugClients/Python3/DebugClientBase.py Sat Jan 09 19:43:36 2010 +0000 +++ b/DebugClients/Python3/DebugClientBase.py Sun Jan 10 13:58:01 2010 +0000 @@ -205,7 +205,7 @@ self.compile_command = codeop.CommandCompiler() - self.coding_re = re.compile(br"coding[:=]\s*([-\w_.]+)") + self.coding_re = re.compile(r"coding[:=]\s*([-\w_.]+)") self.defaultCoding = 'utf-8' self.__coding = self.defaultCoding self.noencoding = False @@ -241,7 +241,7 @@ for l in text.splitlines(): m = self.coding_re.search(l) if m: - self.__coding = m.group(1).decode() + self.__coding = m.group(1) return self.__coding = default