invalid byte sequence in US-ASCII bug resolved