mango r274 - in trunk: . lib
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r274 - in trunk: . lib
- Date: Sat, 28 Jun 2008 12:29:03 +0000 (UTC)
Author: ovitters
Date: Sat Jun 28 12:29:03 2008
New Revision: 274
URL: http://svn.gnome.org/viewvc/mango?rev=274&view=rev
Log:
* lib/mysql.php: Request results as UTF8.
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/lib/mysql.php
Modified: trunk/lib/mysql.php
==============================================================================
--- trunk/lib/mysql.php (original)
+++ trunk/lib/mysql.php Sat Jun 28 12:29:03 2008
@@ -32,7 +32,9 @@
}
$this->handle = $dbh;
-
+
+ $this->query("SET NAMES 'utf8'");
+
return $this;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]