From: W. Trevor King Date: Sat, 26 Jun 2010 22:14:50 +0000 (-0400) Subject: Force UTF-8 encoding in sc.py X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5887d771c421ed85f19df8f295a9bd731bf45fe9;p=sitecorepy.git Force UTF-8 encoding in sc.py --- 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:]