add test with a wrong encoding, ensure decoding into printable utf8