X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FSmarty.php;h=bcd9c69d91bddd7e9aa8cce5f5d4d1e6f94c0805;hb=bab3f1fe9a3b72411af0561a36873dc99622a4ec;hp=1c0ff21dbc1fbdfc733ce1ec3e1d9e1b1c3ba30b;hpb=9c1644b0f586e28b06e7232266b25411a3b9bf66;p=civicrm-core.git diff --git a/CRM/Core/Smarty.php b/CRM/Core/Smarty.php index 1c0ff21dbc..bcd9c69d91 100644 --- a/CRM/Core/Smarty.php +++ b/CRM/Core/Smarty.php @@ -63,15 +63,6 @@ class CRM_Core_Smarty extends Smarty { */ private $backupFrames = []; - /** - * Class constructor. - * - * @return CRM_Core_Smarty - */ - public function __construct() { - parent::__construct(); - } - private function initialize() { $config = CRM_Core_Config::singleton(); @@ -395,7 +386,7 @@ class CRM_Core_Smarty extends Smarty { * * @return string */ - public static function escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1') { + public static function escape($string, $esc_type = 'html', $char_set = 'UTF-8') { // CiviCRM variables are often arrays - just handle them. // The early return on booleans & numbers is mostly to prevent them being // logged as 'changed' when they are cast to a string.