cancel
Showing results for 
Search instead for 
Did you mean: 

EBCDIC to UTF-8 Conversion -- Java Code

former_member183910
Participant
0 Kudos

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?

Thanks,

Sandeep Maurya

Accepted Solutions (1)

Accepted Solutions (1)

RKothari
Contributor
0 Kudos

Hello,

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

[http://www-01.ibm.com/support/docview.wss?uid=swg21238954]

Br,

Rahul

Answers (1)

Answers (1)

former_member190389
Active Contributor
0 Kudos

I think its CP500 and not CP037