I just found out through much hassle that the Regular Expression support (eg: $regex) in mIRC does not support UTF-8 by default. This leads to scripts going awry [potentially dangerously so] whenever user input (eg: chat text) is processed via a regular expression pattern that does not utilize the (*UTF8) sequence.
$regex($1-,/(.)/g)
versus
$regex($1-,/(*UTF8)(.)/g)
Without the (*UTF8) sequence, any UTF8 characters that are encountered are treated as 2 or more characters when processed by $regex, often leading to garbled outputs.
If (*UTF8) cannot be included by default, I would at least ask that the flag /8 be created to simplify patterns.
- Raccoon