Why the console does not display the Cyrillic alphabet?

The console with the command:
System.out.print("Width");

Displays the question marks. What you need to write to the normal Cyrillic alphabet?
July 9th 19 at 13:14
1 answer
July 9th 19 at 13:16
Solution
When compiling it is necessary to specify the encoding of the source file

javac -encoding utf-8 App.java

Find more questions by tags Java