encode nickname in ascii, else, .nick corrupts the self.nick variable.