[wp-trac] [WordPress Trac] #48285: wp-config-sample.php should default to `utf8mb4` instead of `utf8` character set

WordPress Trac noreply at wordpress.org
Mon Jan 24 11:52:39 UTC 2022


#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:  Database     |     Version:  5.3
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by JavierCasares):

 - **utf8mb4 introduction**: [https://downloads.mysql.com/docs/mysql-5.5
 -relnotes-en.pdf MySQL 5.5] and MariaDB 5.5 (it's at
 [https://mariadb.com/docs/reference/mdb/character-sets/utf8mb4/ MariaDB
 10.2] for sure).
 - **utf8mb3**: is at [https://mariadb.com/docs/reference/mdb/character-
 sets/utf8mb3/ MariaDB 10.2] included.
 - **utf8 -> utf8mb3**: forced at [https://mariadb.com/docs/reference/mdb
 /character-sets/utf8mb3/ MariaDB 10.6].

 Based on this, yes, new versions of WordPress may have utf8mb4 by default.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48285#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list