title: Reading File from Windows and Linux yields different results (character encoding?)
body: <p>Currently I'm trying to read a file in a mime format which has some binary string data of a png.</p>
  
  <p>In Windows, reading the file gives me the proper binary string, meaning I just copy the string over and change the extension to png and I see the picture.</p>
  
  <hr>
  
  <p>An example after reading the file in Windows is below:</p>
  
  <pre><code>    --fh-mms-multipart-next-part-1308191573195-0-53229
       Content-Type: image/png;name=app_icon.png
       Content-ID: "&lt;app_icon&gt;"
       content-location: app_icon.png
  
      ‰PNG
  </code></pre>
  
  <p>etc...etc...</p>
  
  <p>An example after reading the file in Linux is below:</p>
  
  <pre><code>    --fh-mms-multipart-next-part-1308191573195-0-53229
       Content-Type: image/png;name=app_icon.png
       Content-ID: "&lt;app_icon&gt;"
       content-location: app_icon.png
  
       ï¿½PNG
  </code></pre>
  
  <p>etc...etc...</p>
  
  <hr>
  
  <p>I am not able to convert the Linux version into a picture as it all becomes some funky symbols with a lot of upside down "?" and "1/2" symbols.</p>
  
  <p>Can anyone enlighten me on what is going on and maybe provide a solution? Been playing with the code for a week and more now.</p>