You're correct, this is an issue with mIRC and the way it handles unicode.

Code:
//if (õ == Õ) echo -a ok


simply does not print 'ok'.

Similar issues have been reported in the past.


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