load file with new line characters
<p>here is my code, to load the content as a byte, then convert the integer to hex values:</p>

<pre><code>    try {
    InputStream is = new FileInputStream(file);
        while ((byteRead = is.read()) != -1) {
            //System.out.print(((char) byteRead).charAt(0));
            String temp = Character.toString((char) byteRead);
            ta.append(Character.toString((char) byteRead));
            System.out.print(Character.toString((char) byteRead));

            ta2.append(Integer.toHexString(byteRead) + " ");

        }
    }
</code></pre>

<p>the output: 41 42 43 d a 31 32 33 </p>

<p>but it seems that, the new line character can't be read, i know the new line character hex value is "0A", how do i fix it? </p>
