projects
/
scuttle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1902126
)
Merge branch 'mysql4-utf8' of git://github.com/takuya-o/scuttle
author
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 8 Nov 2011 15:21:16 +0000
(10:21 -0500)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Tue, 8 Nov 2011 15:21:16 +0000
(10:21 -0500)
includes/db/mysql4.php
patch
|
blob
|
history
diff --git
a/includes/db/mysql4.php
b/includes/db/mysql4.php
index 063951816d23adb9c02a07722d450da0d02d390c..f074e19e76be93b649e37e2cc8950d9430833f19 100644
(file)
--- a/
includes/db/mysql4.php
+++ b/
includes/db/mysql4.php
@@
-44,6
+44,8
@@
class sql_db
{
if (@mysql_select_db($this->dbname))
{
+ #Set utf-8
+ mysql_query('SET CHARACTER SET utf8', $this->db_connect_id);
return $this->db_connect_id;
}
}
Benjamin Mako Hill
||
Want to submit a patch?