From 3ea047d62952880cf9e6ade8b255d9796586cb0a Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Wed, 14 Dec 2011 11:04:37 +0100 Subject: fix console encoding on nt --- pyLoadCore.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index aa8e649a9..25d623df6 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -18,9 +18,9 @@ @author: sebnapi @author: RaNaN @author: mkaay - @version: v0.4.8 + @version: v0.4.9 """ -CURRENT_VERSION = '0.4.8' +CURRENT_VERSION = '0.4.9' import __builtin__ @@ -58,7 +58,7 @@ from module.utils import freeSpace, formatSize from codecs import getwriter if os.name == "nt": - enc = "cp850" + enc = sys.stdout.encoding else: enc = "utf8" -- cgit v1.2.3