Remove bad (and unnecessary) UTF-8 encoding/decoding code.