forked from wallabag/wallabag
Replace iconv() calls with Transliterator
See https://stackoverflow.com/a/35178027/954513 Closes #5377 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
@ -236,7 +236,9 @@ class ContentProxy
|
||||
return $rawText;
|
||||
}
|
||||
|
||||
return iconv('UTF-8', 'UTF-8//IGNORE', $rawText);
|
||||
mb_substitute_character('none');
|
||||
|
||||
return mb_convert_encoding($rawText, 'UTF-8', 'UTF-8');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user