--- a/Utilities/__init__.py Wed Jun 05 20:23:59 2013 +0200 +++ b/Utilities/__init__.py Fri Jun 14 17:43:32 2013 +0200 @@ -240,7 +240,7 @@ buf += bytes(qb) index += 4 else: - buf += bytes(text[index], encoding="utf-8") + buf += codecs.encode(text[index], "utf-8") index += 1 buf = buf.replace(b"\x00", b"") return decodeBytes(buf)