• 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
..
doctrine.rst Loading commit data...
form.rst Loading commit data...
http_cache.rst Loading commit data...
http_fragment.rst Loading commit data...
index.rst Loading commit data...
monolog.rst Loading commit data...
remember_me.rst Loading commit data...
security.rst Loading commit data...
serializer.rst Loading commit data...
service_controller.rst Loading commit data...
session.rst Loading commit data...
swiftmailer.rst Loading commit data...
translation.rst Loading commit data...
twig.rst Loading commit data...
url_generator.rst Loading commit data...
validator.rst Loading commit data...