The code is full of `.encode("utf8", "replace")` due to the uncertainty of types that come and go from supybot.