convert irc response strings to valid utf-8