Fix invalid byte sequence?