Пример #1
0
 /**
  * @see Lumine_Connection_AbstractConnection::setCharset()
  */
 public function setCharset($charset)
 {
     if ($this->conn_id && !empty($charset)) {
         $this->executeSQL('SET NAMES "' . $this->escape($charset) . '"');
     }
     parent::setCharset($charset);
 }
Пример #2
0
 public function setCharset($charset)
 {
     if ($this->conn_id && !empty($charset)) {
         pg_set_client_encoding($this->conn_id, $charset);
     }
     parent::setCharset($charset);
 }
Пример #3
0
 /**
  * @see Lumine_Connection_AbstractConnection::setCharset()
  */
 public function setCharset($charset)
 {
     if ($this->conn && !empty($charset)) {
         $this->conn->set_charset($charset);
     }
     parent::setCharset($charset);
 }