8000 Change MySQL UTF-8 examples to use utf8mb4 by DHager · Pull Request #5100 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Change MySQL UTF-8 examples to use utf8mb4 #5100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
Indenting caution block to nest it inside the sidebar
  • Loading branch information
Darien Hager committed Mar 25, 2015
commit 4ae1446354738a19c0cf2f3ea486ac5b3074c0f1
8 changes: 4 additions & 4 deletions book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ for you:
as agnostic as possible in terms of environment configuration. One way to solve
this problem is to configure server-level defaults.

.. caution::
.. caution::

If you are using MySQL, its `utf8` character set has some shortcomings
which may cause problems. Prefer the `utf8mb4` character set instead, if
your version supports it.
If you are using MySQL, its `utf8` character set actually only supports
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In restructeredText, you have to use double backticks.

a portion of valid UTF-8 data that you may encounter. Instead, try to
use the newer `utf8mb4` if your system supports it.

Setting UTF8 defaults for MySQL is as simple as adding a few lines to
your configuration file (typically ``my.cnf``):
Expand Down
0