title: IntelliJ IDEA incorrect encoding in console output
body: <p>It seems to be really crazy, but I can't do anything with broken encoding in the console of my IntelliJ IDEA.</p>
  <p>Things I made to overcome this:</p>
  <ol>
  <li>Set <code>-Dfile.encoding=UTF-8</code> and <code>-Dfile.encoding=UTF-8</code> in both <code>idea.exe.vmoptions</code> and <code>idea64.exe.vmoptions</code> (I use 64 bit version though).</li>
  <li>Added <code>-Dfile.encoding=UTF-8</code> and <code>-Dfile.encoding=UTF-8</code> to run/debug configuration of my application.</li>
  <li>Changed Settings &gt; Editor &gt; File encodings IDE Encoding/Project Encoding/Default encoding for property files to UTF-8.</li>
  </ol>
  <p>Having all these done, there is still no luck and symbols are not shown correctly in the console. I tried to debug the <code>java.io.PrintStream#println(java.lang.String)</code> method and found out that <code>System.out.textOut.out.se.cs</code> equals to windows-1251. No idea where this value is coming from.</p>
  <p>This issue has been bothering me for a long time and I was unable to find anything in the web that could help me.</p>