return a bytestring and reuse encoding charset