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

Jason J. W. Williams jasonjwwilliams at gmail.com
Tue Jun 15 23:50:02 MDT 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