From 5887d771c421ed85f19df8f295a9bd731bf45fe9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 18:14:50 -0400 Subject: [PATCH] Force UTF-8 encoding in sc.py --- sc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc.py b/sc.py index 8e2db25..a1c7333 100755 --- a/sc.py +++ b/sc.py @@ -5,6 +5,9 @@ import sitecore if __name__ == '__main__': import sys + reload(sys) + sys.setdefaultencoding('utf-8') + command = sys.argv[1] argv = sys.argv[1:] -- 2.26.2