• Fabien Potencier's avatar
    minor #1168 Changed Doctrine page to use utf8mb4 as sample (DHager) · e46e475d
    Fabien Potencier authored
    This PR was merged into the 1.2 branch.
    
    Discussion
    ----------
    
    Changed Doctrine page to use utf8mb4 as sample
    
    MySQL's `utf8` character set is a little broken, and does not cover 4-byte UTF-8 characters. In most cases it will quietly truncate the string whenever it sees one, saving incomplete text data.
    
    In  5.5.3 they introduced `utf8mb4` to fix this inconsistency, and given that it's been 5 years, it's probably safe to encourage people to use it. If their MySQL installation is older, it should be easy for them to find the distinctive string and change it back to `utf8`, and for a new project.
    
    Additional details can be found in the equivalent [pull-request for Symfony-2](https://github.com/symfony/symfony-docs/pull/5100).
    
    Commits
    -------
    
    a20f8f6a Changed Doctrine page to use utf8mb4 as sample
    e46e475d
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...