[wp-trac] [WordPress Trac] #48285: wp-config-sample.php should default to `utf8mb4` instead of `utf8` character set
WordPress Trac
noreply at wordpress.org
Fri Oct 11 03:50:08 UTC 2019
#48285: wp-config-sample.php should default to `utf8mb4` instead of `utf8`
character set
-------------------------+-----------------------------
Reporter: bchecketts | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Charset | Version: trunk
Severity: minor | Keywords:
Focuses: |
-------------------------+-----------------------------
MySQL's `utf8` character encoding is not a correct implementation of the
standard and doesn't work with 4-byte characters, which includes many
emoji. `utf8mb4` is the corrected implementation.
See https://medium.com/@adamhooper/in-mysql-never-use-utf8-use-
utf8mb4-11761243e434 or just google "mysql utf8 vs utf8mb4"
It would seem wise for `wp-config-sample.php` to default then to `utf8mb4`
instead of `utf8` so that new installations have the improved character
set.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48285>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list