A
A
amalchikov2016-05-18 20:10:40
Java
amalchikov, 2016-05-18 20:10:40

Why doesn't the console display Cyrillic?

Console, on command:
System.out.print("Ширина");
Displays question marks. What do you need to write to have normal Cyrillic?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-05-18
@amalchikov

When compiling, you must specify the encoding of the source file
javac -encoding utf-8 App.java

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question