decode encode between String and byte in java
<pre><code>byte[] bytes = new byte[] { 1, -1 };
System.out.println(Arrays.toString(new String(bytes, "UTF-8").getBytes("UTF-8")));
System.out.println(Arrays.toString(new String(bytes, "ISO-8859-1").getBytes("ISO-8859-1")));
</code></pre>

<p>output:</p>

<pre><code>[1, -17, -65, -67]
[1, -1]
</code></pre>

<p>why???</p>
