projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73af645
)
CRM-13946: Backport PR #2185: set default database connection to UTF-8
author
Arjan Mossel
<arjanmossel@gmail.com>
Mon, 31 Mar 2014 22:16:19 +0000
(
00:16
+0200)
committer
Arjan Mossel
<arjanmossel@gmail.com>
Mon, 31 Mar 2014 22:16:19 +0000
(
00:16
+0200)
CRM/Core/DAO.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/DAO.php
b/CRM/Core/DAO.php
index 2e0f4ab65ac58951238b913b109b1b8de487d65c..9dea4c8676c42c669c29ef1ff6012a5e55c7a365 100644
(file)
--- 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");
}
/**