Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

EBCDIC to UTF-8 Conversion -- Java Code

Hello Friends,

I am reading an EBCDIC file using sender file adapter as Binary.

I want to do encoding conversion -- from EBCDIC to UTF-8.

I am writing java mapping to do this conversion. When I am writing this code,

isr = new InputStreamReader(in, "cp037"); //cp037 is for EBCDIC.

It is throwing the "UnsupportedEncodingException cp037" error.

Any idea why is it throwing error and any alternate solution for this encoding conversion?


Sandeep Maurya

Former Member
Former Member replied


Please check the below mentioned link. It may help you in resolving the problem.




0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question