fix the false utf8 assumption