diff -r fe5cd20cb0eb -r 9a18f4dbb493 QScintilla/Exporters/ExporterRTF.py --- 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 = {}