From 9c714a151a2c4d4d2635216a72014357a6afa92b Mon Sep 17 00:00:00 2001 From: mark burdett Date: Thu, 21 Feb 2019 13:56:23 -0800 Subject: [PATCH] Deprecate CIVICRM_TEMP_FORCE_UTF8. --- CRM/Utils/SQL/TempTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/SQL/TempTable.php b/CRM/Utils/SQL/TempTable.php index cde12a0f67..7f1955003c 100644 --- a/CRM/Utils/SQL/TempTable.php +++ b/CRM/Utils/SQL/TempTable.php @@ -97,8 +97,8 @@ class CRM_Utils_SQL_TempTable { $t->id = md5(uniqid('', TRUE)); // The constant CIVICRM_TEMP_FORCE_DURABLE is for local debugging. $t->durable = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_DURABLE', FALSE); - // I suspect it would be better to just say utf8=true, but a lot of existing queries don't do the utf8 bit. - $t->utf8 = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_UTF8', FALSE); + // @deprecated This constant is deprecated and will be removed. + $t->utf8 = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_UTF8', TRUE); $t->autodrop = FALSE; $t->memory = FALSE; return $t; -- 2.25.1