Good day. There is a problem with reading the file Properties , containing Russian letters. The word Nakhabino is read as ??? ° ??? °? ± ?????? . Here is the code:
Properties mProperties = new Properties(); mProperties.load(new FileInputStream(desktop + "pr.properties")); System.out.println(mProperties.getProperty("setA")); I tried using Notepad ++ to change the file encoding on Asii, UTF-8, UTF-8 without BOM, UCS2, and a few more. The result - in one coding question and plus sign, in the other squares and circles, etc. Help correct the error.