From 6efad4720bdbfb6f25e8314caa40fc94cae21c36 Mon Sep 17 00:00:00 2001 From: Mi Nam Date: Thu, 7 Aug 2014 16:44:20 -0400 Subject: [PATCH] Fix DAO to properly enforce desired collation https://issues.civicrm.org/jira/browse/CRM-15085 --- CRM/Core/DAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index cb1b3938a5..7a05dbdd15 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -207,7 +207,7 @@ class CRM_Core_DAO extends DB_DataObject { */ function initialize() { $this->_connect(); - $this->query("SET NAMES utf8"); + $this->query("SET NAMES utf8 COLLATE utf8_unicode_ci"); } /** -- 2.25.1