protected function writeDataInIO($fp)
  {
    // Écriture des données
    if ($this->useAssociativeArray) {
      foreach ($this->data as $donnee) {
        foreach ($donnee as &$champ) {
          $champ = (is_string($champ)) ? iconv("UTF-8", "Windows-1252//TRANSLIT", $champ) : $champ;
        }
        $this->fputcsv($fp, $donnee, ';', $this->enclosures);
      }
    } else {
      for ($i = 0; $i < count($this->data); $i++) {
        for ($j = 0; $j < count($this->data[$i]); $j++) {
          $this->fputcsv($fp, $this->data[$i][$j], ';', $this->enclosures);
        }
      }
    }
  }