Explorar el Código

利用実績一覧 文字コードをSJISへ変更

develop
sosuke.iwabuchi hace 2 años
padre
commit
f1d188c149
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php

+ 1
- 2
app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php Ver fichero

@@ -51,8 +51,7 @@ class UseSummaryCSVController extends HelloTechnoController

$list = $this->repository->forCsv()->get($condition);

// $csv = new CsvFile($this->getHeaderLabel(), CsvFile::ENCODE_SJIS);
$csv = new CsvFile($this->getHeaderLabel());
$csv = new CsvFile($this->getHeaderLabel(), CsvFile::ENCODE_SJIS);
foreach ($list as $row) {
$csv->addLine($row->toArray());
}


Cargando…
Cancelar
Guardar