Skip to content

Commit

Permalink
Merge branch 'feature/92516' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume DUBOST committed Jun 1, 2018
2 parents a75866d + 41af1d7 commit ea8aa9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CsvUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function getTokenFromArray($array, $prefix = '')
if (is_array($value)) {
$tokens = array_merge($tokens, self::getTokenFromArray($value, $sub_prefix));
} else {
$tokens[$sub_prefix] = utf8_decode($value);
$tokens[$sub_prefix] = mb_convert_encoding($value, 'Windows-1252', 'UTF-8');
}
}
return $tokens;
Expand Down

0 comments on commit ea8aa9a

Please sign in to comment.