Input encoding for the IRC server

I had the same issue with UTF-8 but bypassed it by sending an empty raw message before PASS