Hello!
I'm writing a card game called "Twenty-one", and for that I wanted the card symbols (Hearts, diamonds etc.) which are available in Unicode. So I filled a Vector<String> with cards and with the symbols which were presented on Unicode's website, but when I try to output them I only get a question mark instead of the card symbols. So I'm wondering if I need to import something to be able to see them. I'm using Eclipse btw. Here is my code:
Code:Vector<String> cards = new Vector<String>();
cards.addAll(Arrays.asList("\u2664 E", "\u2664 2", "\u2664 3", "\u2664 4", "\u2664 5", "\u2664 6", "\u2664 7", "\u2664 8", "\u2664 9", "\u2664 10", "\u2664 Knight", "\u2664 Queen", "\u2664 King",
"\u2665 E", "\u2665 2", "\u2665 3", "\u2665 4", "\u2665 5", "\u2665 6", "\u2665 7", "\u2665 8", "\u2665 9", "\u2665 10", "\u2665 Knight", "\u2665 Queen", "\u2665 King",
"\u2666 E", "\u2666 2", "\u2666 3", "\u2666 4", "\u2666 5", "\u2666 6", "\u2666 7", "\u2666 8", "\u2666 9", "\u2666 10", "\u2666 Knight", "\u2666 Queen", "\u2666 King",
"\u2667 E", "\u2667 2", "\u2667 3", "\u2667 4", "\u2667 5", "\u2667 6", "\u2667 7", "\u2667 8", "\u2667 9", "\u2667 10", "\u2667 Knight", "\u2667 Queen", "\u2667 King"));