title: file_get_contents shows unexpected output while reading a file
body: <p>I want to output an inline jpg image as a base64 encoded string, however when I do this :</p>
  
  <pre><code>$contents = file_get_contents($filename);
  print "&lt;img src=\"data:image/jpg;base64,".$contents."\"/&gt;";
  </code></pre>
  
  <p>Where <code>$filename</code> is a local text file with the base64 image. The output is as follows :</p>
  
  <pre><code>&lt;img src="data:image/jpg;base64,ï»¿/9j/4A..... (the rest of the file)...." /&gt;
  </code></pre>
  
  <p>And obiously the image is not rendered, but where does <code>ï»¿</code> come from ? It is not in the text file. If removed, the image is displayed properly.</p>