DBAL-567: PDOPgSql should respect connection charset option #1777

doctrinebot opened this Issue Jul 23, 2013 · 3 comments

2 participants


Jira issue originally created by user goetas:

Add this piece of code to _constructPdoDsn method to respect charset option

if (isset($params['charset'])) {
     $dsn .= 'options=\'--client_encoding' . $params['charset'] . '\' ';

Comment created by goetas:

This feature is documented here: http://www.php.net/manual/en/function.pg-connect.php


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment