QScintilla/Exporters/ExporterRTF.py

changeset 45
9a18f4dbb493
parent 25
5163e6f94ba5
child 429
dcc623c99907
child 792
a13346916170
--- a/QScintilla/Exporters/ExporterRTF.py	Sun Jan 10 13:59:15 2010 +0000
+++ b/QScintilla/Exporters/ExporterRTF.py	Sun Jan 10 19:19:52 2010 +0000
@@ -145,7 +145,7 @@
                 bgColour = self.editor.paper()
             
             try:
-                f = open(filename, "w")
+                f = open(filename, "w", encoding = "utf-8")
                 
                 styles = {}
                 fonts = {}

eric ide

mercurial