fix issue with encoding errors on irc server side