I load the text file UTF-8 with letters / numbers using java.io.File . While I run from IDE directly - everything is fine - and reads and writes.
After publishing to jar or exe, they stop understanding UTF, but it works correctly with ANSI. However, an application launched from the IDE does not digest ANSI. Can I explicitly specify the encoding when loading / saving?
PS: Everything happens in the javaFX application, if it matters.