PluginManager/PluginRepositoryDialog.py

changeset 45
9a18f4dbb493
parent 15
f6ccc31d6e72
child 48
f4274afeba82
diff -r fe5cd20cb0eb -r 9a18f4dbb493 PluginManager/PluginRepositoryDialog.py
--- a/PluginManager/PluginRepositoryDialog.py	Sun Jan 10 13:59:15 2010 +0000
+++ b/PluginManager/PluginRepositoryDialog.py	Sun Jan 10 19:19:52 2010 +0000
@@ -250,7 +250,7 @@
         if os.path.exists(self.pluginRepositoryFile):
             self.__repositoryMissing = False
             try:
-                f = open(self.pluginRepositoryFile, "r")
+                f = open(self.pluginRepositoryFile, "r", encoding = "utf-8")
                 line = f.readline()
                 dtdLine = f.readline()
                 f.close()
@@ -274,7 +274,7 @@
                 parser.setErrorHandler(eh)
                 
                 try:
-                    f = open(self.pluginRepositoryFile, "r")
+                    f = open(self.pluginRepositoryFile, "r", encoding = "utf-8")
                     try:
                         try:
                             parser.parse(f)
@@ -644,4 +644,4 @@
                 ).format(applPath),
                 self.trUtf8('OK'))
         
-        self.close()
\ No newline at end of file
+        self.close()

eric ide

mercurial