[Twisted-Python] Twisted Web, Unicode & request.write()

Jason J. W. Williams jasonjwwilliams at gmail.com
Wed Jun 16 01:50:02 EDT 2010


Hi Y'all,

What's the correct way to write out Unicode data to the client in
Twisted Web? request.write() throws a "Data must not be unicode".
Content-Type header is set with "; charset=utf-8" appended to the
content type.

-J



More information about the Twisted-Python mailing list