Skip to content
Snippets Groups Projects
Commit 07dfd088 authored by orb's avatar orb Committed by Eric Mckenna
Browse files

Issue #1140194 by orb | emorency: Fixed SQLSTATE[HY000]: General error:

1366 Incorrect string value for a field with accents.
parent d7f42298
No related branches found
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ class ParserCSV { ...@@ -214,7 +214,7 @@ class ParserCSV {
$currentField = ''; $currentField = '';
$fields = array(); $fields = array();
while ($currentIndex <= strlen($line)) { while ($currentIndex <= drupal_strlen($line)) {
if ($quoted) { if ($quoted) {
$nextQuoteIndex = strpos($line, '"', $currentIndex); $nextQuoteIndex = strpos($line, '"', $currentIndex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment