Fix leading utf8 byte detection