afflux/pure-python-otr — pull request #51 by tribut (2014-02-20 18:05:37+00:00)
Title: add encode('utf-8') accidently removed in 212f19b

this restores compatibility with python3.
fixes afflux/pure-python-otr#50

sorry @mathieui for unnecessarily reintroducing that bug.