how to read binary file in java and how convert into ASCII

  • Thread starter padarthi.kavitha
  • Start date
P

padarthi.kavitha

Hi all,
I have a prolem here ..
I need to read a binary file and then convert that into ascii after
removing unprintable characters withing it ....
I am able to read that file now but all i can see is binary format
data "special characters/ junk data".
Please guide me as how can i convert that file in ASCII after reading
and then remove unprintable characters ....

Thanks
 
R

Roedy Green

Hi all,
I have a prolem here ..
I need to read a binary file and then convert that into ascii after
removing unprintable characters withing it ....
I am able to read that file now but all i can see is binary format
data "special characters/ junk data".
Please guide me as how can i convert that file in ASCII after reading
and then remove unprintable characters ....

see http://mindprod.com/applet/fileio.html
to generate you the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top