Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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)?

0
Posted

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)?

0

Location: http://www.jguru.com/faq/view.jsp?EID=135894 Created: Aug 27, 2000 Modified: 2001-08-18 18:00:02.514 Author: Sandip Chitale (http://www.jguru.com/guru/viewbio.jsp?EID=14537) Question originally posed by claire kennedy (http://www.jguru.com/guru/viewbio.jsp?EID=128156 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123