From: Jaap Jansma Date: Tue, 10 Dec 2013 11:43:48 +0000 (+0100) Subject: fixed CRM-13946 set default database connection to UTF-8 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a3634aeab2f6b02a8958caf68938a24330dad014;p=civicrm-core.git fixed CRM-13946 set default database connection to UTF-8 --- 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"); } /**