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
This commit is contained in:
parent
b10bc4065e
commit
c6ab56d6c7
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ class ServiceFactory {
|
||||||
if(!$db->db_connect_id) {
|
if(!$db->db_connect_id) {
|
||||||
message_die(CRITICAL_ERROR, "Could not connect to the database", $db);
|
message_die(CRITICAL_ERROR, "Could not connect to the database", $db);
|
||||||
}
|
}
|
||||||
|
$db->sql_query("SET NAMES UTF8");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($instances[$name])) {
|
if (!isset($instances[$name])) {
|
||||||
|
|
Loading…
Reference in a new issue