Change default MySQL table collation to utf8_unicode_ci #198

Merged
merged 2 commits into from Sep 17, 2012

Conversation

Projects
None yet
3 participants
Contributor

VladanStef commented Sep 14, 2012

I think default table collation should be changed to utf8_unicode_ci, as it handles properly a much wider array of characters (Cyrillic, for example) at a generally negligible cost of performance.

utf8_general_ci simply does not work properly with too many languages and should be avoided as a default.

Changed default MySQL table collation to utf8_unicode_ci
Default table collation changed to `utf8_unicode_ci`, as it handles properly a much wider array of characters (Cyrillic, for example) at a generally negligible cost of performance.
Owner

Ocramius commented Sep 14, 2012

@VladanStef can you please also fix the tests?

Contributor

VladanStef commented Sep 14, 2012

@Ocramius No problem, tests fixed.

beberlei added a commit that referenced this pull request Sep 17, 2012

Merge pull request #198 from VladanStef/patch-1
Change default MySQL table collation to utf8_unicode_ci

@beberlei beberlei merged commit 144e707 into doctrine:master Sep 17, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment