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


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
Why is this happening?
And how to fix this?
5ae846bc224b5721274353.png
by | 16 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,187 answers
0 comments
40,796 users