log invalid utf8 value length