Can someone tell me how to get Doctrine to create UTF-8 and utf8_polish_ci ? My Doctrine config file has the following db configuration options:
$conn = array( 'driver' => 'pdo_mysql', 'dbname' => 'test', 'user' => 'root', 'password' => '*****', 'charset' => 'utf8', 'driverOptions' => array(1002=>'SET NAMES utf8'));
However, it still creates a table with standard coding: latin1 and latin1_swedish_ci .
source share