Implementing getClientEncoding using postgres

This commit is contained in:
José Lorenzo Rodríguez 2010-10-24 20:02:11 -04:30
parent 2ec9a49f17
commit f00f4eae0f

View file

@ -757,7 +757,7 @@ class DboPostgres extends DboSource {
* @return string The database encoding
*/
function getEncoding() {
return pg_client_encoding($this->connection);
$cosa = $this->_execute('SHOW client_encoding')->fetch();
}
/**