From 5076f98698db72c8a103bd2c94a6bdbfdb3cd0f3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 23 Dec 2021 12:25:58 +1300 Subject: [PATCH] Fix char-set for default escaping --- CRM/Core/Smarty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Smarty.php b/CRM/Core/Smarty.php index 1c0ff21dbc..49a40a4fe3 100644 --- a/CRM/Core/Smarty.php +++ b/CRM/Core/Smarty.php @@ -395,7 +395,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. -- 2.25.1