ircbot: fix encoding problem

Currently Python-IRC is hardcoded the encoding UTF-8.
Added a very hacky code to avoid the problem.