If you send those accentued letters with utf8 and he is not decoding the same way, he will get something else, and anything like $exists() would fail.
Try sending the message using /raw -n

/msg #chan äöüï becomes /raw -n privmsg #chan :äöüï


#mircscripting @ irc.swiftirc.net == the best mIRC help channel