Revert to using StringIO. In Trac 0.10, unicode strings are used,
which cStringIO can't handle.
Alternatively, one could convert all non-ASCII chars to HTML
entities. On the other hand, this should be done by Trac itself, if
Powered by Trac 1.0.5
By Edgewall Software.
Karlsruhe Institut of TechnologyInstitute for Program Structures and Data OrganizationiChair Prof. Walter F. Tichy