`getBytes` will force UTF-8 encoding of the data, and then throw away the result. You should try to avoid double-encoding by (re)using the encoded content from somewhere else.