This question has already been answered:
- Incorrect display of Russian characters 2 answers
The code in java
gets the text from the file, and compares it with other text. When running in eclipse
everything works, and if the texts are the same, a message is displayed. After exporting to a jar
file, the application does not work correctly in the windows
console. Encoding of projects and files - UTF-8
.