Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

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'] . '\' ';
}
@doctrinebot

Comment created by goetas:

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

@doctrinebot

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.