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:
63e10f9
)
CRM-13859 - set database connection to UTF-8
author
Carlo Landmeter
<clandmeter@gmail.com>
Wed, 11 Dec 2013 11:09:27 +0000
(11:09 +0000)
committer
Carlo Landmeter
<clandmeter@gmail.com>
Wed, 11 Dec 2013 11:09:27 +0000
(11:09 +0000)
install/civicrm.php
patch
|
blob
|
blame
|
history
diff --git
a/install/civicrm.php
b/install/civicrm.php
index 1f8e0492dd03e42d6ac9e6e33539779d35273c86..c4063acb9a4120dcb92fae2529ee6aed9806e1e9 100644
(file)
--- a/
install/civicrm.php
+++ b/
install/civicrm.php
@@
-123,6
+123,7
@@
function civicrm_source($dsn, $fileName, $lineMode = FALSE) {
if (PEAR::isError($db)) {
die("Cannot open $dsn: " . $db->getMessage());
}
+ $db->query("SET NAMES utf8");
if (!$lineMode) {
$string = file_get_contents($fileName);