mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Added iconv() to output method
This commit is contained in:
@@ -868,6 +868,10 @@ class parseCSV {
|
||||
$string .= implode($delimiter, $entry).$this->linefeed;
|
||||
$entry = array();
|
||||
}
|
||||
|
||||
if ($this->convert_encoding) {
|
||||
$string = iconv($this->input_encoding, $this->output_encoding, $string);
|
||||
}
|
||||
|
||||
return $string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user