Yep, I know it only works on ASCII. strcasecmp only works with ASCII as well (unless you consider other non-standard implementations that take a locale along with the two string args).