Hi,
I am trying to read the data using inputstream, that has been written out by a product (solaris machine) onto its output stream.
I am getting all the data, however I get a whole bunch of garbage characters in between the data.
I am collecting the data in a byte array directly from the inputstream.
Can anyone tell me why I might be facing this problem ?
I have tried using Reader and providing different charset values, but it is not working.
Here's the output with garbage (unhighlighted part)
Last login: Wed Dec 23 22:16:34 2009 from 148.147.152.191
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
TERM is: vt100
[3g H H H H H H H H H
7[r[999;999H[6ntsdexpert:/export/home/pshindikar $