Detecting 0x00 (null) in a file
807569Aug 10 2006 — edited Aug 10 2006Hello everybody!
I have some files with 0x00 characters in it, and I need to detect these chars, them I need to trade them by an space char... Using String (reading the file as text), line by line, doesn't works, I think that when it finds a 0x00 it interprets it as the end of line character and them jump to next line, so I can`t find it to do the substitution...
In fact I don`t need to alter the file, just read all the lines from it into an ArrayList, and them substitute the 0x00 chars in it, not in the file (I`ll send these lines to the printer).
What would be the best approch?!
Thanks!
C�ssio