Hi Experts,
Our requirement is to send the EDI data using delimiters in EBCDIC format.
The delimiters I am sending using Hexadecimal to ASCII, using the below function -
------------------------------------------------------------------
if(var1.contains("0x"))
{
String hex = var1.substring(2,4);
int dec = Integer.parseInt(hex, 16);
return Character.toString((char)dec);
}
else
return var1;
------------------------------------------------------------------
Our target B2B system is setting up delimiters in EBCDIC, I am not sure how to proceed forward.
Please guide.
Thanks,
Nidhi