From: mensonge Date: Thu, 5 Feb 2009 15:22:30 +0000 (+0000) Subject: Minor fix: convert tables and data from ISO to UTF-8 X-Git-Tag: v0.94~134 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c6ab56d6c7eb83c973d7a4f10ee2420b56e49f12;p=semanticscuttle.git 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 --- 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])) {