diff --git a/src/Trafiklab/Gtfs/Util/Internal/GtfsParserUtil.php b/src/Trafiklab/Gtfs/Util/Internal/GtfsParserUtil.php index 5bbfac1..3430ce5 100644 --- a/src/Trafiklab/Gtfs/Util/Internal/GtfsParserUtil.php +++ b/src/Trafiklab/Gtfs/Util/Internal/GtfsParserUtil.php @@ -30,7 +30,7 @@ public static function deserializeCSV(GtfsArchive $gtfsArchive, string $csvPath, $handle = self::openFile($csvPath); if ($handle) { - while (($row = fgetcsv($handle)) !== false) { + while (($row = fgetcsv($handle, null, ',', '"', '\\')) !== false) { $row = array_map('trim', $row); // Read the header row if (empty($fieldNames)) {