This question has already been answered:
- Incorrect display of Russian characters 2 answers
Faced the problem of reading from a file: when displaying the contents of a file in the console instead of Cyrillic it shows such characters 
In Intelij IDEA, the UTF-8 encoding is everywhere (in the file, settings), the current code page in the Windows console is 866.
Who faced a similar problem?