iconv illegal character fix
This commit is contained in:
parent
67d5263004
commit
98e00e8843
|
@ -495,7 +495,7 @@ class StringHelper
|
||||||
public static function convertEncoding($value, $to, $from)
|
public static function convertEncoding($value, $to, $from)
|
||||||
{
|
{
|
||||||
if (self::getIsIconvEnabled()) {
|
if (self::getIsIconvEnabled()) {
|
||||||
return iconv($from, $to, $value);
|
return iconv($from, $to . '//IGNORE//TRANSLIT', $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self::getIsMbstringEnabled()) {
|
if (self::getIsMbstringEnabled()) {
|
||||||
|
|
Loading…
Reference in New Issue