title: OPENCSV populating first column as null
body: <p>I am trying to read a csv file using opencsv using HeaderColumnNameMappingStrategy. Opencsv populates my first column of csv as null everytime. 
  Here is my code :</p>
  
  <p>Entity Class :</p>
  
  <pre><code>@Entity
  @Table(name = "MyEntity")
  public class MyEntity {
  
      @CsvBindByName(column = "status", required = true)
      @Column(name = "status", length = 5, nullable = false)
      private String status;
  
      @CsvBindByName(column = "type", required = true)
      @Column(name = "type", length = 5, nullable = false)
      private String type;
  
      @CsvBindByName(column = "percentage", required = true)
      @Column(name = "percentage", nullable = false)
      private Integer percentage;
  
      @Column(name = "date", nullable = false)
      @CsvBindByName(column = "date", required = true)
      @CsvDate(value = "yyyy-MM-dd")
      private Date date;
  }
  </code></pre>
  
  <p>Reading logic:</p>
  
  <pre><code> final HeaderColumnNameMappingStrategy&lt;MyEntity&gt; mpngInfo= new HeaderColumnNameMappingStrategy&lt;&gt;();
                  mappingInfo.setType(MyEntity.class);
   final CsvToBean&lt;MyEntity&gt; csvToBean = new CsvToBean&lt;&gt;();
  File file = new File(&lt;path&gt;);
  CSVReader reader = new CSVReader(new FileReader(file),';');
   final List&lt;MyEntity&gt; list = csvToBean.parse(mpngInfo, reader, true);
  //here in list the first column is always populated as null.
  </code></pre>
  
  <p>My CSV :</p>
  
  <p>type;status;percentage;date
  ACTIVE;USD;25;2014-01-01
  ACTIVE;GBP;25;2014-01-01</p>
  
  <p>Note: Even if I switch 'type' with 'percentage' then it starts populating percentage as null because 'percentage' column becomes the first column.</p>
  
  <p>I figured out the problem that is with the first character of file.
  In my case it's "ï»¿"type;status;percentage;date</p>
  
  <p>The problem is listed here :
  <a href="https://stackoverflow.com/questions/17405165/first-character-of-the-reading-from-the-text-file-%C3%AF">First character of the reading from the text file : &#239;&#187;&#191;</a></p>
  
  <p>How can I solve this in opencsv? Any Suggestions ?</p>