Commit 1c938b59 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[BUGFIX] dont use windows-1252 for csv encoding / decoding

parent 3a8df0ff
......@@ -80,7 +80,6 @@ class CsvUtility
if (strpos($value, ';') !== false) {
$value = '"' . str_replace('"', '\"', $value) . '"';
}
$value = iconv('UTF-8', 'Windows-1252', $value);
return $value;
}
......@@ -99,7 +98,7 @@ class CsvUtility
if (strlen($match) < 1) {
$match = $matches['quotedValue'][$matchIndex];
}
$result[$matchIndex] = iconv('Windows-1252', 'UTF-8//TRANSLIT', $match);;
$result[$matchIndex] = $match;
}
return $result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment