agavi_creole_charset
public text v1 · immutableIndex: database/CreoleDatabase.class.php
===================================================================
--- database/CreoleDatabase.class.php (revision 2130)
+++ database/CreoleDatabase.class.php (working copy)
@@ -177,6 +177,14 @@
}
+ $charset = $this->getParameter('charset', null);
+
+ if (!empty($charset))
+ {
+ $query = "SET CHARSET ".$charset;
+ $this->connection->executeUpdate($query);
+ }
+
// get our resource
$this->resource = $this->connection->getResource();