title: fgetcsv() ignores special characters when they are at the beginning of line!
body: <p>I have a simple script that accepts a CSV file and reads every row into an array. I then cycle through each column of the first row (in my case it holds the questions of a survey) and I print them out. The survey is in french and whenever the first character of a question is a special character (é,ê,ç, etc) fgetcsv simply omits it.</p>
  
  <p>Special characters in the middle of the value are not affected only when they are the first character.</p>
  
  <p>I tried to debug this but I am baffled. I did a var_dump with the content of the file and the characters are definitely there:</p>
  
  <pre><code>var_dump(utf8_encode(file_get_contents($_FILES['csv_file']['tmp_name'])));
  </code></pre>
  
  <p>And here's my code:</p>
  
  <pre><code>if(file_exists($_FILES['csv_file']['tmp_name']) &amp;&amp; $csv = fopen($_FILES['csv_file']['tmp_name'], "r"))
      {
          $csv_arr = array();
  
          //Populate an array with all the cells of the CSV file
          while(!feof($csv))
          {
              $csv_arr[] = fgetcsv($csv);
          }
  
          //Close the file, no longer needed
          fclose($csv);
  
          // This should cycle through the cells of the first row (questions)
          foreach($csv_arr[0] as $question)
          {
              echo utf8_encode($question) . "&lt;br /&gt;";
          }
  
      }
  </code></pre>