From a3634aeab2f6b02a8958caf68938a24330dad014 Mon Sep 17 00:00:00 2001 From: Jaap Jansma Date: Tue, 10 Dec 2013 12:43:48 +0100 Subject: [PATCH] fixed CRM-13946 set default database connection to UTF-8 --- CRM/Core/DAO.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index b3517d59f9..6c540f72fd 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -196,6 +196,7 @@ class CRM_Core_DAO extends DB_DataObject { */ function initialize() { $this->_connect(); + $this->query("SET NAMES utf8"); } /** -- 2.25.1