Remove utf8_encode call

This commit is contained in:
Dave Umrysh 2023-12-31 18:16:03 +00:00
parent 754b5a33d5
commit 8c97e5cdd2
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ class TemplateProcessor
protected static function ensureUtf8Encoded($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;