Eccube\Service\CsvImportService::convertEncodingRows PHP Метод

convertEncodingRows() защищенный Метод

Windows 版 PHP7 環境では、ファイルエンコーディングが CP932 になるため UTF-8 に変換する. それ以外の環境では何もしない。
protected convertEncodingRows ( $row )
    protected function convertEncodingRows($row)
    {
        if ('\\' === DIRECTORY_SEPARATOR && PHP_VERSION_ID >= 70000) {
            foreach ($row as &$col) {
                $col = mb_convert_encoding($col, 'UTF-8', 'SJIS-win');
            }
        }
        return $row;
    }