1. databases.yml
all:
propel:
class: sfPropelDatabase
param:
...
encoding: utf8
2. propel.ini
propel.database.encoding = utf8
3. On DB creation
create database DbName DEFAULT CHARACTER SET utf8;
all:
propel:
class: sfPropelDatabase
param:
...
encoding: utf8
propel.database.encoding = utf8
create database DbName DEFAULT CHARACTER SET utf8;
No comments:
Post a Comment