title: How to set postgresql client charset using PHPs PDO layer?
body: <p>It seems PHP PosgreSQL PDO driver does not accept charset parameter.</p>
  
  <p>This does not work (as charset is missing in doc at <a href="http://www.php.net/manual/en/ref.pdo-pgsql.connection.php" rel="nofollow">http://www.php.net/manual/en/ref.pdo-pgsql.connection.php</a>):</p>
  
  <pre><code>$db = new PDO('pgsql:host=localhost;dbname=database;charset=WIN1250', 'user', 'pass');
  </code></pre>
  
  <p>How can I set charset witch client is using?</p>