Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EBCDIC/ASCII conversion

 
Reeti Saha
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic