From f7ba25b9308ea70647506e570ab2ef268f72fe76 Mon Sep 17 00:00:00 2001 From: Nicolas Ganivet Date: Fri, 26 Aug 2016 01:23:31 -0600 Subject: [PATCH] CRM-19261: full fix --- CRM/Utils/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index a8ca3b77c3..3eeddf4d36 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -303,6 +303,7 @@ class CRM_Utils_File { if (CRM_Utils_Constant::value('CIVICRM_MYSQL_STRICT', CRM_Utils_System::isDevelopment())) { $db->query('SET SESSION sql_mode = STRICT_TRANS_TABLES'); } + $db->query('SET NAMES utf8'); if (!$isQueryString) { $string = $prefix . file_get_contents($fileName); -- 2.25.1