Commit 45bfbf53 authored by Andreas Jung's avatar Andreas Jung

'codecs' module is now imported to allow unicode encoding conversions

in DTML. This is a workaround because usually conversions should work
*without* importing the codecs module explictly
parent cc2a3070
......@@ -221,11 +221,15 @@ if swhome != 'INSERT_SOFTWARE_HOME':
sys.path.insert(5, '%s' % swhome)
import os, sys, getopt
import os, sys, getopt, codecs
# workaround to allow unicode encoding conversions in DTML
dummy = codecs.lookup('iso-8859-1')
sys.setcheckinterval(120)
program=sys.argv[0]
here=os.path.join(os.getcwd(), os.path.split(program)[0])
Zpid=''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment