0 Replies Latest reply: Mar 17, 2011 5:09 PM by 848393 RSS

    console character set

      Hi, I want to read the follownig String from console: "I♥NY" .
      I cannot find the way to read in the heart symbol correctly.
      I tried using all availabe character sets for conversion from System.in binary stream data to character data, without success:
      InputStreamReader in = new InputStreamReader(System.in, "utf-8");

      What am I missing here ?

      Thanks a lot.