Skip to content
Snippets Groups Projects
Commit 8e58c9aa authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

CRM-13859 - set database connection to UTF-8

parent 63e10f91
Branches
Tags 0.1
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment