- make sure database returns all data utf8 encoded

This commit is contained in:
steinm 2011-03-10 14:27:59 +00:00
parent 2e74e8326a
commit c4c3b991a8

View File

@ -101,6 +101,7 @@ class LetoDMS_Core_DatabaseAccess {
if (!$this->_conn) if (!$this->_conn)
return false; return false;
$this->_conn->Execute('SET NAMES utf8');
$this->_connected = true; $this->_connected = true;
return true; return true;
} /* }}} */ } /* }}} */