Utilities/__init__.py

changeset 1659
d5215347c209
parent 1509
c0b5e693b0eb
child 1732
b140a24e147a
child 1815
6ed2ac61a108
--- a/Utilities/__init__.py	Thu Feb 23 10:08:04 2012 +0100
+++ b/Utilities/__init__.py	Thu Feb 23 14:57:49 2012 +0100
@@ -326,7 +326,7 @@
             buf += bytes(qb)
             index += 4
         else:
-            buf += bytes(text[index], encoding="ascii")
+            buf += bytes(text[index], encoding="utf-8")
             index += 1
     buf = buf.replace(b"\x00", b"")
     return decodeBytes(buf)

eric ide

mercurial