Problem writing 0xFF to file
<p>I'm trying to write a 0xFF to file in java using PrintStream. Other values are written to the file correctly when I open it with a Hex editor but the value that is suppose to show 0xFF got 0xC3BF instead.</p>

<p>The variable type used is int. After a few tried I also discover that the "maximum" value i can put is 0x7F this will be displayed correctly in the Hex editor, if i put 0x80 then the hex editor will display 0xC280.</p>

<p>What's wrong?</p>
