eric5-doc.py

changeset 45
9a18f4dbb493
parent 21
b88a0e6268bd
child 97
c4086afea02b
--- a/eric5-doc.py	Sun Jan 10 13:59:15 2010 +0000
+++ b/eric5-doc.py	Sun Jan 10 19:19:52 2010 +0000
@@ -261,7 +261,7 @@
 
     if stylesheetFile:
         try:
-            sf = open(stylesheetFile, "r")
+            sf = open(stylesheetFile, "r", encoding = "utf-8")
             stylesheet = sf.read()
             sf.close()
         except IOError:
@@ -370,7 +370,7 @@
                 
                 # generate output
                 try:
-                    out = open(f, "w")
+                    out = open(f, "w", encoding = "utf-8")
                     out.write(doc)
                     out.close()
                 except IOError as v:

eric ide

mercurial