encode/decode isos for Text/ByteString