title: Random int to .txt file error
body: <p>I would like to know why this code:</p>
  
  <pre><code>import java.io.*;
  import java.util.Random;
  
  public class RandomNumbers {
  public static void main(String[] args) throws IOException {
  
      PrintWriter output = new PrintWriter("randomNumbers.txt");
      final int randomNumberCount = 100;
      Random randomGenerator = new Random();
  
  
      for (int i = randomNumberCount; i &gt;= 0; i--)
      {
      output.print(randomGenerator.nextInt(10) + " ");
      }
      output.close();
  
    }
  }
  </code></pre>
  
  <p>Is giving me a text file with this:</p>
  
  <pre><code>‰‹‸‸‹‵‹‴‶′′‴‷″‵‷‴′‶‷‵‹‷′‱″″‸‰‷‸′″‵‹″′‶‶‴‶‴‸′″‹‶‱‱‰‸‸‱‷‶‹‶‶‵‰‹‰‰‹‱‸‷‱‵‶‵‷′‱‵‵‸‸‵‵‱‸‷‸‸‱‸‱‶‱‸″‸′‶″‸‸‷‶′
  </code></pre>
  
  <p>When I change it to pick random numbers of 11 or above, it works.
  If I keep it at 10 and make it pick 48 random numbers or lower it works.</p>
  
  <p>What am I missing?</p>
  
  <p><em>EDIT</em>
  It will show up correct in Notepad++ but not in Notepad.</p>