File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes EBCDIC/ASCII conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "EBCDIC/ASCII conversion " Watch "EBCDIC/ASCII conversion " New topic

EBCDIC/ASCII conversion

Reeti Saha
Ranch Hand

Joined: Jun 26, 2001
Posts: 34
I want to write the data coming from IBM mainframe as EBCDIC into a text file as ASCII text.
How shld I convert the text.
Pls. Help..
It's urgent.
Reeti Saha
Kevin Rodberg

Joined: Aug 23, 2001
Posts: 1
InputStreamReader and OutputStreamWriter provide methods that can convert between other character encodings and Unicode.
The JDK Software Internationalization Overview provides a table of Supported Encodings
I used to convert it byte by byte in the old days but you would need the the conversion tables and I've long since lost them.
Manjunath Reddy
Ranch Hand

Joined: Jul 26, 2001
Posts: 60
Also check out this PDF..which helped me to do a text to EBCDIC conversion long time ago..
I agree. Here's the link:
subject: EBCDIC/ASCII conversion
It's not a secret anymore!