Fix "invalid byte sequence in US-ASCII" error