Fixed an issue in Utilities.decodeString(). 5_2_x

Thu, 23 Feb 2012 14:57:49 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 23 Feb 2012 14:57:49 +0100
branch
5_2_x
changeset 1660
57f2bd52deb7
parent 1657
53b34dfe1fa0
child 1663
1089e1167e7c

Fixed an issue in Utilities.decodeString().

Utilities/__init__.py file | annotate | diff | comparison | revisions
diff -r 53b34dfe1fa0 -r 57f2bd52deb7 Utilities/__init__.py
--- 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