From c6ab56d6c7eb83c973d7a4f10ee2420b56e49f12 Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 5 Feb 2009 15:22:30 +0000 Subject: [PATCH] Minor fix: convert tables and data from ISO to UTF-8 git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@250 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/servicefactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/services/servicefactory.php b/services/servicefactory.php index 73e5626..b5215e3 100644 --- a/services/servicefactory.php +++ b/services/servicefactory.php @@ -16,6 +16,7 @@ class ServiceFactory { if(!$db->db_connect_id) { message_die(CRITICAL_ERROR, "Could not connect to the database", $db); } + $db->sql_query("SET NAMES UTF8"); } if (!isset($instances[$name])) {