First check if your files are really backed up in ISO-8859-1
, if yes, it may be that your console is set to UTF-8
or some other type of coding.
You can change the console encoding by adding the flag -Dconsole.encoding
in the archives idea.vmoptions
and idea64.vmoptions
inside [diretório de instalação do IDEA]\bin
.
For example, on my Windows machine with version 2016.2
Intellij IDEA installed in the default directory these files are in:
C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\bin\idea.exe.vmoptions
C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\bin\idea64.exe.vmoptions
Edit these files and add the line -Dconsole.encoding=ISO-8859-1
, e. g.:
-server
-Xms128m
-Xmx512m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Dconsole.encoding=ISO-8859-1
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
Reference: Soen - Intellij Idea incorrect encoding in console output