What I do:

public class Main { public static void main(String[] args) { char i = 0x25A0; System.out.println(i); i = 0x2612; System.out.println(i); i = 0x2610; System.out.println(i); } } 

What I get in the IDE:

IDE result

What I get in the console:

Result in the console

IDE UTF-8, Windows10, Russian locale, fonts were beaten by Consolas and Lucida Console - everything is always OK in IDE, but not in the console. Encoding 65001 for the console did not help. I think the problem is in the encoding. How to achieve the correct display of characters?

  • Unfortunately, in the Windows console, some Unicode characters are not displayed correctly and switching the page does not help. in some cases it helps to access WinApi directly, but I didn’t work with your character set. - Mikhail Vaysman
  • There was an idea that the matter is in the absence of these characters in the Consolas and Lucida Console fonts. - user0856
  • What do you want to get? Why do you want to print these characters in the console? - Mikhail Vaysman
  • Wrote a console sea battle. These characters looked great in the IDE console and made it possible to make a full clear field. - user0856
  • so it's time to make a GUI :) - Mikhail Vaysman

0