id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
189,TextSerializer mistakenly calls unicode() on TEXT data,Matt Chaput <matt@…>,cmlenz,"The `TextSerializer.__call__()` method yields the text data like this:

{{{
yield unicode(data)
}}}

I believe this is incorrect, since (a) the ""data"" of a TEXT event should already be Unicode, and (b) any data that IS Unicode (ie contains chars >127) will raise an error because `unicode()` runs its argument through the ASCII decoder.

I think it should be just `yield data`, or paranoid-ly:

{{{
assert isinstance(data, unicode)
yield data
}}}
",defect,closed,major,0.5,Serialization,devel,invalid,,
