Trying to print € symbol to screen using Unicode.
The following code displays OK in Eclipse but using the windows command line I get:
pound = ú
euro = Ç
Code:
class Test{
public static void main(String[] args) {
String euro = "\u20ac";
String pound = "\u00a3";
System.out.println("pound = " + pound);
System.out.println("euro = " + euro);
}
}
Why is this? Ctrl+alt+$ shows € command line so the symbol is there?