The code is written in idea. UTF8 file encoding with native-to-ascii checkbox. The file has the Russian word "ball". After assembly, we have instead
\u0448\u0430\u0440\u0430 Everything works, until the replacement of these characters manually from notepad. Somewhere I found information that needs to be used.
properties.getProperty("db.host").getBytes("CP866") But it did not help