title: Process.getInputStream() encoding issue
body: <p>I have the following lines of code.I want to use proper encoding scheme.</p>
  
  <pre><code>Process process = processBuilder.start();
  InputStreamReader isr = new InputStreamReader(process.getInputStream());
  </code></pre>
  
  <p>My eclipse is by default using <code>Windows-1252</code> encoding.While when I run chcp command on command prompt The result is <code>codepage 437</code>.</p>
  
  <p>This means the stream of bytes that I get from command line is encoded by using (<strong>codepage437</strong>)different scheme than the one used by JVM(<strong>windows1252</strong>).How do I synchronise between the two when I want my application to run across different platforms.[I can not hardcode to use code 437 in my java application]</p>