diff --git a/parsecsv.lib.php b/parsecsv.lib.php index 5dafcd5..2791293 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -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; }