Commit 12024dbc authored by Dries's avatar Dries

- Patch #319165 by andpost: force PostgreSQL to use UTF-8 by default.

parent e2184e25
......@@ -33,6 +33,9 @@ public function __construct(array $connection_options = array()) {
// Force column names to lower case.
// Force PostgreSQL to use the UTF-8 character set by default.
$this->exec('SET NAMES "UTF8"');
public function query($query, array $args = array(), $options = array()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment