$manager = Doctrine_Manager::getInstance(); $manager->setAttribute(Doctrine_Core::ATTR_AUTO_ACCESSOR_OVERRIDE, true);
$manager = Doctrine_Manager::getInstance(); $manager->setAttribute(Doctrine_Core::ATTR_DEFAULT_TABLE_CHARSET, 'utf8'); $manager->setAttribute(Doctrine_Core::ATTR_DEFAULT_TABLE_COLLATE, 'utf8_general_ci');This example sets the default character set and collation for all tables created with Doctrine. All new tables will have a CHARACTER SET of utf8 and a COLLATE of utf8_general_ci. Package library: Doctrine.