Skip to content

Commit

Permalink
Correction d'un problème de multibyte caractères
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-claras committed Oct 11, 2013
1 parent fa77519 commit edfe2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xport/Spreadsheet/Exporter/PHPExcelExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function export(Document $model, $targetFile, PHPExcel_Writer_IWriter $wr
private function processSheet(Sheet $sheet, PHPExcel_Worksheet $phpExcelSheet)
{
if ($sheet->getLabel()) {
$phpExcelSheet->setTitle(substr($sheet->getLabel(), 0, 31));
$phpExcelSheet->setTitle(mb_substr($sheet->getLabel(), 0, 31));
}

// Process tables
Expand Down

0 comments on commit edfe2ad

Please sign in to comment.