Remove utf8_encode call
This commit is contained in:
parent
754b5a33d5
commit
8c97e5cdd2
@ -259,7 +259,8 @@ class TemplateProcessor
|
|||||||
protected static function ensureUtf8Encoded($subject)
|
protected static function ensureUtf8Encoded($subject)
|
||||||
{
|
{
|
||||||
if (!Text::isUTF8($subject)) {
|
if (!Text::isUTF8($subject)) {
|
||||||
$subject = utf8_encode($subject);
|
//$subject = utf8_encode($subject);
|
||||||
|
$subject = mb_convert_encoding($subject, 'UTF-8', 'ISO-8859-1');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $subject;
|
return $subject;
|
||||||
|
Loading…
Reference in New Issue
Block a user