From 2c76ad371b330164fcc104064345b3bd6e31a8ce Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 13 Jan 2006 14:26:53 +0000 Subject: [PATCH] This was causing some disruption in tests because "SET CHARSET" changes conection charset to default DB charset and not to the specified 'utf8'. --- lib/setup.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/setup.php b/lib/setup.php index 3ab3c67472f..c253a971898 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -147,7 +147,6 @@ global $HTTPSPAGEREQUIRED; if ($dbconnected && $CFG->unicodedb) { if ($db->databaseType == 'mysql') { $db->Execute("SET NAMES 'utf8'"); - $db->Execute("SET CHARSET 'utf8'"); /// This could be not necessary if DB is set to Unicode, but... } else if ($db->databaseType == 'postgres7') { $db->Execute("SET NAMES 'utf8'"); }