And there is more conversion support around Charset.
Thanks to @BruceMartin and @0x1C1B
Note that there are more than one EBCDIC variants, just like 8 bit ASCII ((US) ASCII being 7 bits). Pick the right code page:
`"Cp037" for US EBCDIC, "Cp1047", ...
You will need the Charset to convert to EBCDIC bytes.
The
CharsetEncodercan also check entire Strings.And there is more conversion support around Charset.
Thanks to @BruceMartin and @0x1C1B
Note that there are more than one EBCDIC variants, just like 8 bit ASCII ((US) ASCII being 7 bits). Pick the right code page: `"Cp037" for US EBCDIC, "Cp1047", ...
You will need the Charset to convert to EBCDIC bytes.