Corrected a little omission.

Sun, 05 Aug 2012 12:33:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Aug 2012 12:33:05 +0200
changeset 1989
8409b0d84061
parent 1987
c7b98f0180ab
child 1991
54101b0b0075

Corrected a little omission.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Helpviewer/GreaseMonkey/GreaseMonkeyScript.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Helpviewer/GreaseMonkey/GreaseMonkeyScript.py	Sat Aug 04 20:42:45 2012 +0200
+++ b/Helpviewer/GreaseMonkey/GreaseMonkeyScript.py	Sun Aug 05 12:33:05 2012 +0200
@@ -190,7 +190,7 @@
         @param path path of the Javascript file (string)
         """
         try:
-            f = open(path)
+            f = open(path, "r", encoding="utf-8")
             fileData = f.read()
             f.close()
         except (IOError, OSError):

eric ide

mercurial