Ensure MySQL returns things in UTF-8

This commit is contained in:
Olav Vitters 2009-06-06 14:33:05 +02:00
parent 26d33af6e2
commit 44e48def1d

View file

@ -46,6 +46,7 @@ function elec_sql_open () {
elec_sql_close ($handle);
return FALSE;
}
mysql_query ("SET NAMES 'utf8'", $handle);
return $handle;
}