mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 20:18:00 +00:00
iconv illegal character fix
This commit is contained in:
committed by
Adrien Crivelli
parent
67d5263004
commit
98e00e8843
@@ -495,7 +495,7 @@ class StringHelper
|
||||
public static function convertEncoding($value, $to, $from)
|
||||
{
|
||||
if (self::getIsIconvEnabled()) {
|
||||
return iconv($from, $to, $value);
|
||||
return iconv($from, $to . '//IGNORE//TRANSLIT', $value);
|
||||
}
|
||||
|
||||
if (self::getIsMbstringEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user