public function setCharset($charset)
    {
        $this->_database->exec(
            'ALTER TABLE ' .
            $this->_database->prepareIdentifier($this->_name) .
            ' CONVERT TO CHARACTER SET ' .
            $this->_database->prepareValue($charset, Column::TYPE_VARCHAR)
        );
    }
public function setCharset($charset)
    {
        $this->_database->exec(
            'ALTER TABLE ' .
            $this->_database->prepareIdentifier($this->_name) .
            ' CONVERT TO CHARACTER SET ' .
            $this->_database->prepareValue($charset, Column::TYPE_VARCHAR)
        );
    }
public function setCharset ( $ charset ) { $ this -> _database -> exec ( 'ALTER TABLE ' . $ this -> _database -> prepareIdentifier ( $ this -> _name ) . ' CONVERT TO CHARACTER SET ' . $ this -> _database -> prepareValue ( $ charset , Column :: TYPE_VARCHAR ) ) ; }
Set character set and convert data to new character set
@param string $charset Character set known to MySQL server
@return void
Set character set and convert data to new character set