Hal Gatewood

Christian, Husband, Dad, Web Developer

Creating utf-8 tables in symfony 1.4/doctrine 1.2

Posted: May 2nd, 2010

Add this function to your ProjectConfiguration.class.php

public function configureDoctrine(Doctrine_Manager $manager)
{
  $manager->setCollate('utf8_unicode_ci');
  $manager->setCharset('utf8');
} 

via Creating utf-8 tables in symfony 1.4 /doctrine 1.2 | Connecting the dots….


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.