On 10/24/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Jack Tihon wrote:
> > parse_formvars() from file paste/request.py is trying to add to the
> > formvars MultiDict in the folowing loop:
> > ...
> > if isinstance(fs.value, list):
> > for name in fs.keys():
> > values = fs[name]
> > if not isinstance(values, list):
> > values = [values]
> > for value in values:
> > if not value.filename:
> > value = value.value
> > formvars.add(name, value.decode('utf-8')) #the submitted
> > CGI was UTF-8
> > print "formvars.add invoked on (name, value)", name, value
Woh, I'm confused now. I'm looking at trunk
<http://trac.pythonpaste.org/pythonpaste/browser/Paste/trunk/paste/request.py>,
and I don't see that .decode code. So Paste doesn't do any decoding
yet? Decoding from UTF-8 was sufficient for my needs.
Confused,
-jj
--
The one who gets the last laugh isn't the one who did the laughing,
but rather the one who did the writing.
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users