projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae28e38
)
Force UTF-8 encoding in sc.py
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:14:50 +0000
(18:14 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:14:50 +0000
(18:14 -0400)
sc.py
patch
|
blob
|
history
diff --git
a/sc.py
b/sc.py
index 8e2db25a943be082fa4d573c3f9fe42276d4414b..a1c7333c45b8614830deb2c39d3a9c8924d0c9fd 100755
(executable)
--- 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:]