title: Why the system.out.println() returns different French characters on French OS
body: <p>Hi this is a simple question, don't know the answer myself though...
  The output of following code running on a French OS is </p>
  
  <pre><code>public class FrenchTest {
  public static void main(String[] args){
      String[] lines = {"Le résultat est", "Nom de l'hôte"};
  
      for(String line : lines){
          System.out.println("NOW : " + line);
      }   
  }
  //////////////
  c:\share&gt;java FrenchTest
  NOW : Le rÃ©sultat est
  NOW : Nom de l'hÃ´te
  
  c:\share&gt;CHCP 65001
  
  c:\share&gt;java FrenchTest
  NOW : Le rÃ©sultat est
  NOW : Nom de l'hÃ´te
  </code></pre>
  
  <p>How come? Where is the encoding gist for this case, it works fine on English version OS, THANKS!</p>