Fix for project forms viewer compiling form containing accented characters. 5_3_x release-5.3.5

Sat, 06 Jul 2013 18:31:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Jul 2013 18:31:44 +0200
branch
5_3_x
changeset 2777
2a81ccaa5a95
parent 2775
a1a4715a4eb0
child 2778
2736ebd219bb

Fix for project forms viewer compiling form containing accented characters.
(grafted from 43b8060a4b444d0d35eb93e8243e4a1e1548757f)

Project/ProjectFormsBrowser.py file | annotate | diff | comparison | revisions
diff -r a1a4715a4eb0 -r 2a81ccaa5a95 Project/ProjectFormsBrowser.py
--- a/Project/ProjectFormsBrowser.py	Sat Jul 06 16:44:15 2013 +0200
+++ b/Project/ProjectFormsBrowser.py	Sat Jul 06 18:31:44 2013 +0200
@@ -586,8 +586,7 @@
         
         while self.compileProc and self.compileProc.canReadLine():
             self.buf += str(self.compileProc.readLine(),
-                            Preferences.getSystem("IOEncoding"),
-                            'replace')
+                            "utf-8", 'replace')
         
     def __readStderr(self):
         """

eric ide

mercurial