From 49f33520640c5ef16a927162515be6e8ecb3bd05 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Tue, 1 Apr 2014 00:16:19 +0200 Subject: [PATCH] CRM-13946: Backport PR #2185: 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 2e0f4ab65a..9dea4c8676 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