Preferences/ConfigurationPages/EditorFilePage.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 7
c679fb30c8f3
--- a/Preferences/ConfigurationPages/EditorFilePage.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/Preferences/ConfigurationPages/EditorFilePage.py	Mon Dec 28 18:31:37 2009 +0000
@@ -83,7 +83,7 @@
             int(self.createBackupFileCheckBox.isChecked()))
         Preferences.setEditor("AutoCheckSyntax",
             int(self.automaticSyntaxCheckCheckBox.isChecked()))
-        enc = unicode(self.defaultEncodingComboBox.currentText())
+        enc = self.defaultEncodingComboBox.currentText()
         if not enc:
             enc = "utf-8"
         Preferences.setEditor("DefaultEncoding", enc)

eric ide

mercurial