title: Encoding cp1252
body: <p>When I try the following in Java:</p>
  
  <p><code>System.out.println(System.getProperty("file.encoding"));</code></p>
  
  <p>I get <code>cp1252</code> as the encoding.</p>
  
  <p>Is there a way to know where this value is coming from? (Like Environment variables or something)</p>
  
  <p>I would like to print the value of encoding on command prompt using some command like systeminfo on Windows XP.</p>