fix issue #4 - rex4.5 compat utf8 check