better test for utf-8