fix unicode errors
Revert "Update handler.py"

No hacks for random channels please.

This reverts commit ecf960cbbe657161417ee5ccb7189263990c64a4.