Skip to content


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

doctrinebot opened this Issue · 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:


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.