*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "EBCDIC/ASCII conversion " Watch "EBCDIC/ASCII conversion " New topic
Author

EBCDIC/ASCII conversion

Reeti Saha
Ranch Hand

Joined: Jun 26, 2001
Posts: 34
Hi:
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.
Regards
Reeti Saha
Kevin Rodberg
Greenhorn

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.. http://manuals.fujitsu-siemens.com/servers/man/man_us/java_man/java_pdf/jenbe11b.pdf
 
Consider Paul's rocket mass heater.
 
subject: EBCDIC/ASCII conversion
 
Similar Threads
Character encoding
Converting ASCII hexadecimal data to EBCDIC hexadecimal data
How to read a .cff (compressed file format) file in Java
ASCII TO EBCDIC: how ?
Convert from ASCII to EBCDIC