Use utf8len instead of utf8decode.