0
一切都是utf8它可以,仍然当我看到表,我看到字符集是latin
和整理是latin_swedish_ci
。我想设置utf8和utf8_collation_ci。怎么样?Symfony 1.4 propel schema.yml:如何设置utf8字符集,utf8_collate_ci作为整理?
一切都是utf8它可以,仍然当我看到表,我看到字符集是latin
和整理是latin_swedish_ci
。我想设置utf8和utf8_collation_ci。怎么样?Symfony 1.4 propel schema.yml:如何设置utf8字符集,utf8_collate_ci作为整理?
在databases.yml里你可以设置:
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=mydb'
username: myusername
password: mypassword
attributes:
default_table_charset: utf8
default_table_collate: utf8_general_ci
thx回答,但它的“推动”:),它忽略了字符集属性 – 2012-01-15 12:58:45
我在得到这个解决相当感兴趣。任何运气,约翰? – 2012-04-10 16:56:38