reading unicode data from a file
<p>Default encoding is ISO-8859-1</p>

<pre><code>    BufferedReader bis = new BufferedReader(new InputStreamReader(new FileInputStream("file having unicode characters"),"UTF-8"));
    String strTemp = bis.readLine();// on debugging strTemp is having actual unicode data


    System.out.println(strTemp);// uses default encoding which is ISO-8859-1,So not printing   ///actual data


   PrintStream psTemp = new PrintStream(System.out, true, "UTF-8");
   psTemp.println(strTemp);// here i am giving encoding as UTF-8,still not printing unicode data.
</code></pre>

<p>Even if i am giving encoding as UTF-8 in PrintStream constructor i am not able to print unicode data, if i change default encoding from ISO-8859-1 to UTF-8, it works. Why this is so?</p>
