protected function make_row($data)
    {
        $line = [];
        foreach ($this->cols as $i => $key) {
            $value = (array_key_exists($i, $data) ? $data[$i] : '');
            $value = ($this->utf8 ? utf8_decode($value) : $value);
            $line[$key] = $value;
        }

        return $line;
    }