iconv illegal character fix

This commit is contained in:
Nikolay Ivanov 2016-08-12 17:29:48 +03:00 committed by Adrien Crivelli
parent 67d5263004
commit 98e00e8843
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {