What is the simplest way to convert HEX value to ebcdic char type in Java
e.g. The example below will return at sign but I would like to get ebcidic equivalent i.e. space char..
String hex = "40"; char c = (char) Integer.parseInt(hex, 16);
What is the simplest way to convert HEX value to ebcdic char type in Java
e.g. The example below will return at sign but I would like to get ebcidic equivalent i.e. space char..
String hex = "40"; char c = (char) Integer.parseInt(hex, 16);
Simples and most efficient solution would probably be to write up a lookup-table yourself, based on for instance http://www.natural-innovations.com/computing/asciiebcdic.html.
Other solutions can be found here.