You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #7904 Fix incoherent utf8mb4 collation in Doctrine setup (marcverney)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes#7904).
Discussion
----------
Fix incoherent utf8mb4 collation in Doctrine setup
The "Setting up the Database to be UTF8" section of the "Databases and the Doctrine ORM" page recommends the following default collation setup:
- in MySQL's my.cnf: `collation-server = utf8mb4_general_ci`
- and/or in Symfony's config.yml: `collate: utf8mb4_unicode_ci`
As a reader I am confused by this difference. If there's a reason for it, I think it should be explained in the text. On the other hand, if there is none, both lines should probably reference `utf8mb4_unicode_ci` (reason: http://stackoverflow.com/a/766996/2516943). This PR intends to fix the latter case.
Commits
-------
c27f16a Fix incoherent ut8mb4 collation in Doctrine setup
0 commit comments