title: strange characters ^M php can not identify
body: <p>I open a file (saved as ISO 8859-1) using the terminal (Ubuntu) and see where new lines should be the following character <code>^M</code> (surrounded by XX before and after). </p>
  
  <p>Now, I run this code in php to see how PHP handles that:</p>
  
  <pre><code>$text=str_split($text);
  var_dump($text);
  </code></pre>
  
  <p>in the var_dump I see only an array with size 4 and only the 'X' in it.<br>
  Any idea what is going on in there? </p>
  
  <p>EDIT: open office translates this <code>^M</code> correctly to a new line.</p>
  
  <p>ANOTHER EDIT:
  The following code changes nothing. <code>echo str_replace("\r","XXXXXX",$text);</code>
  I run this before the <code>str_split</code></p>