Print unique ascii characters in eclipse console

Posted by Shaded on Stack Overflow See other posts from Stack Overflow or by Shaded
Published on 2011-01-17T19:43:43Z Indexed on 2011/01/17 19:53 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

Hey guys,

Kind of a strange question but... here it goes.

Recently my application threw an IOException that the text only had a clubs symbol in it (like the suit in cards) I know this is probably because there was a number in there that was cast to a char and printed to the screen, and I've found where that might have happened. The only problem is, I can't recreate it in eclipse because the eclipse console doesn't want to print those characters for me. All I get are boxes.

I figure this is an encoding issue or something but I need eclipse to print out those characters just like the windows console would. Is there a setting I can change to do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse