fixes for unicode

This commit is contained in:
Anand Doshi
2012-07-20 18:11:30 +05:30
parent 1703cc89b4
commit 76ec66dd65
5 changed files with 32 additions and 33 deletions

View File

@@ -42,10 +42,7 @@ import webnotes.auth
from webnotes.utils import cstr
def init():
# make the form_dict
webnotes.form = cgi.FieldStorage(keep_blank_values=True)
for key in webnotes.form.keys():
webnotes.form_dict[key] = cstr(webnotes.form.getvalue(key))
webnotes.handler.get_cgi_fields()
# init request
try: