title: Reading a text file gives unexpected results
body: <p>I have a text file with the following contents:</p>
  
  <pre class="lang-none prettyprint-override"><code>23,11,12,16.5
  24,23,89,111
  12,23,45,89.22
  </code></pre>
  
  <p>I am reading it with the following code:</p>
  
  <pre><code>do {
      line = fin.readLine();
      System.out.println("dfg   " + line);
      line = fin.readLine();
      System.out.println("dfg   " + line);
  } while (line != null);
  </code></pre>
  
  <p>However, I get unexpected output:</p>
  
  <pre class="lang-none prettyprint-override"><code>dfg   {\rtf1\ansi\ansicpg1251\cocoartf1038\cocoasubrtf320
  dfg   {\fonttbl\f0\fmodern\fcharset0 Courier;}
  </code></pre>
  
  <p>How is this caused and how can I solve it?</p>