I use the IntelliJ Save console output to file feature. (Run configuration -> Log tab
)
But it looks like the encoding is wrong: In the console, I can see non-ascii-characters like "äöü"
, whereas in the output file, they get replaces by question marks or something else. So logging itself seems to be okay but the writing to the log file misses the encoding somehow.
You may want to check your intellij encoding first:
Secondly, which encoding did you use to open the file ? If you use an advanced text editor like Notepad++, then you can select it from the menu: