Eclipse Doesn't Show Emojis
public void outPutFilter() {
    for (int i = 0 ; i<11 ; i++) {
        System.out.print("\n");
        for (int j = 0 ; j<11 ; j++) {
            switch (battleCamp[i][j]) {
                case"S":{
                    System.out.printf("💧" + " ");
                    break;
                }
                case"H":{
                    System.out.printf("X" + " ");
                    break;
                }
                case"0":{
                    System.out.printf("💧" + " ");
                    break;
                }
                default:{
                    System.out.printf(battleCamp[i][j] + " ");
                    break;
                }
            }
        } 
    }
}

When I run the code I do not see the emojis do you know why ? I use the utf-8 standard but still not to show me the emojis, I also tried to use unicode but it does not work the same

4
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article