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
+1 -1
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()) {