it seems to also work if the doctrine connection is simply initialised using
driverOptions with "Set Names.." in local.php
<?php
return array(
    'doctrine' => array(
        'connection' => array(
            'orm_default' => array(
                'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
                'params' => array(
                    'host'     => 'localhost',
                    'port'     => '3306',
                    'user'     => '****',
                    'password' => '*******',
                    'dbname'   => '****',
                                        'driverOptions' => array(
                        1002=>'SET NAMES utf8'
                        )
                )
            )
        )
    ),
);



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Set-default-encoding-to-ISO-in-Zend-Framework-2-tp4657670p4657724.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to