From 8e58c9aacc86f6c164fed13213be3bc1ff223f60 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 11 Dec 2013 11:09:27 +0000 Subject: [PATCH] CRM-13859 - set database connection to UTF-8 --- install/civicrm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/civicrm.php b/install/civicrm.php index 1f8e0492dd..c4063acb9a 100644 --- 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); -- 2.25.1