Why if you run .java file through cmd, then Cyrillic will turn into strange characters?

0 like 0 dislike
4 views
Why is this happening?
And how to fix this?
5ae846bc224b5721274353.png
by | 4 views

2 Answers

0 like 0 dislike
To coordinate the encoding of the command line and where is the exhaust.
by
0 like 0 dislike
because the encoding of the console is probably different from what you mean in your code.
Try to perform the first chcp 65001
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 25, 2019 by Ilya199
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Apr 12, 2019 by TopMetaFizick
110,608 questions
257,186 answers
0 comments
33,652 users