Where can I find code for converting Java data types to/from other data formats such as: EBCDIC, IBM370 COMP (binary numbers up to 9 digits), and COMP-16 (packed decimal numbers)?

Sandip Chitale

You will have to use the java.io.InputStreamReader class. This can convert data in any encoding to Unicode as long as the right ByteToCharConvertor is available. Here are the supported encodings and some more info on Character Stream I/O.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact