Hi Ian

Thanks for this, but I'm obviously being a bit obtuse:

> Your app should never return any unicode.  You can wrap pieces in 
> paste.lint or wsgiref.validate, which will possibly catch this error 
> earlier.

But I'm returning something which is intended to become a web page ...

> > Do I need to formally encode my base string somehow? I was under the
> > impression that unicode objects should work fine ...
> 
> No, no unicode objects are allowed in WSGI.

which means that it might not be an ascii web page ... how do i do that
then?

Am I being stupid?

Bryan

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to