Unable to explode on 'þ' when using file_get_contents()
<p>I need to get the contents of a remote file, and then explode those contents on the symbol: "þ".</p>

<p>I can make it work if the string I am exploding is just a local variable, but I can't get it to work with file_get_contents();</p>

<pre><code>$string = '1þClassic Los 1/10þþ15þ1þTrueþ2þCú';
$parts = explode("þ", $string);
var_dump($parts);
</code></pre>

<p>result:</p>

<pre><code>array(8) {
  [0]=&gt;
  string(1) "1"
  [1]=&gt;
  string(16) "Classic Los 1/10"
  [2]=&gt;
  string(0) ""
  [3]=&gt;
  string(2) "15"
  [4]=&gt;
  string(1) "1"
  [5]=&gt;
  string(4) "True"
  [6]=&gt;
  string(1) "2"
  [7]=&gt;
  string(2) "Cu"
}
</code></pre>

<hr>

<pre><code>$string = file_get_contents('file.txt');
$parts = explode("þ", $string);
var_dump($parts);
</code></pre>

<p>result:</p>

<pre><code>array(1) {
  [0]=&gt;
  string(42) "1þClassic Los 1/10þþ15þ1þTrueþ2þCú"
}
</code></pre>

<p>Why can't I explode on that symbol when I use file_get_contents() ?</p>
