From f1d188c149a26cb760bb2f85c1494e2a54f751f3 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Thu, 22 Jun 2023 14:22:06 +0900 Subject: [PATCH] =?UTF-8?q?=E5=88=A9=E7=94=A8=E5=AE=9F=E7=B8=BE=E4=B8=80?= =?UTF-8?q?=E8=A6=A7=E3=80=80=E6=96=87=E5=AD=97=E3=82=B3=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=92SJIS=E3=81=B8=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Web/Custom/HelloTechno/UseSummaryCSVController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php b/app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php index 6c1d4b8..66b0aa9 100644 --- a/app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php +++ b/app/Http/Controllers/Web/Custom/HelloTechno/UseSummaryCSVController.php @@ -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()); }