stri_cmp now detect invalid utf8 byte sequences