Doctrine2 with Symfony2 not recognizing db charset and collation
问题 I am trying to get Doctrine2 to work properly with a mysql db in Symfony2 on a debian squeeze system. The charset and collation of the DB are set to utf8 and utf8_general_ci and the db is created manually by reading in an sql script. Now I enter some values for one of the tables with danish special chars like æøå and they simply wont display correctly. My parameters.yml has set encoding: utf8 and in my config.yml the doctrine configuration has: doctrine: dbal: driver: %database_driver% host: