rex4.5 compat utf8 check