Skip to content
Snippets Groups Projects
Commit 0c95470b authored by Peter Rotich's avatar Peter Rotich
Browse files

Set DB connection character set to uft8 - chery picked from pull request #289

parent ca6e1bc6
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@
if($db) db_select_database($db);
//set desired encoding just in case mysql charset is not UTF-8 - Thanks to FreshMedia
@mysql_query('SET NAMES "UTF8"');
@mysql_query('SET NAMES "utf8"');
@mysql_query('SET CHARACTER SET "utf8"');
@mysql_query('SET COLLATION_CONNECTION=utf8_general_ci');
@db_set_variable('sql_mode', '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment