This discussion is archived
0 Replies Latest reply: Mar 17, 2011 3:09 PM by 848393 RSS

console character set

848393 Newbie
Currently Being Moderated
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 binary stream data to character data, without success:
InputStreamReader in = new InputStreamReader(, "utf-8");

What am I missing here ?

Thanks a lot.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points