Helpviewer/GreaseMonkey/GreaseMonkeyManager.py

changeset 1954
5072605ad4dd
parent 1953
26aa6fd94dc2
child 2087
795992a5c561
--- a/Helpviewer/GreaseMonkey/GreaseMonkeyManager.py	Sun Jul 22 15:32:52 2012 +0200
+++ b/Helpviewer/GreaseMonkey/GreaseMonkeyManager.py	Sun Jul 22 18:26:57 2012 +0200
@@ -112,7 +112,7 @@
             if settings.contains(url):
                 fileName = settings.value(url)
                 try:
-                    f = open(fileName, "r")
+                    f = open(fileName, "r", encoding="utf-8")
                     source = f.read()
                     f.close()
                 except (IOError, OSError):

eric ide

mercurial