From 56377053bd7a30383fb0a1dc7ae6502a19ad61a4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 25 Aug 2007 15:42:32 +0000 Subject: [PATCH] r1602: Merging r1601 from trunk to the branch --- docs/changes.txt | 1 + install/global.php | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 6eb9d96..d30f57f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -5,6 +5,7 @@ - Fixed: After mass-updating a search result set, if the search criteria were changed the user would be stuck in a "no results" error (bug://report/93) - Change: Do not show the version number on non-admin pages (bug://report/95) - Fixed: If a user has set a language that does not exist anymore, then bug notifications would fail (bug://report/97) +- Fixed: Users of UTF8 languages would experience problems after upgrading (if the $utf8 config directive as ON) because the installer wasn't running in UTF8 1.2.1 =============================== diff --git a/install/global.php b/install/global.php index 6bbc3a7..971e1de 100644 --- a/install/global.php +++ b/install/global.php @@ -51,6 +51,11 @@ define('ISSO_DB_LAYER', 'db_mysql'); $bugsys->load('db_mysql', 'db', true); $db->connect($servername, $username, $password, $database, $usepconnect); +if ($utf8) +{ + $db->query("SET NAMES utf8"); +} + // needed for API validation $bugsys->load('functions', 'funct'); -- 2.22.5