Preferences/__init__.py

changeset 101
595f66b1fe93
parent 99
7d7a3cebd905
child 107
918a6be6f051
--- a/Preferences/__init__.py	Thu Feb 04 18:44:24 2010 +0000
+++ b/Preferences/__init__.py	Fri Feb 05 17:05:03 2010 +0000
@@ -577,10 +577,16 @@
     })
 
     # defaults for system settings
-    sysDefaults = {
-        "StringEncoding" : "utf-8",
-        "IOEncoding"     : "utf-8",
-    }
+    if isWindowsPlatform():
+        sysDefaults = {
+            "StringEncoding" : "cp1251",
+            "IOEncoding"     : "cp1251",
+        }
+    else:
+        sysDefaults = {
+            "StringEncoding" : "utf-8",
+            "IOEncoding"     : "utf-8",
+        }
     
     # defaults for the shell settings
     shellDefaults = {

eric ide

mercurial