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

WordPress Trac noreply at wordpress.org
Sat Oct 12 02:19:36 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:  Database     |     Version:  trunk
 Severity:  minor        |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  Charset => Database


Comment:

 Previously: #21212, #32405, #33122.

 Thanks for the ticket!

 On both new and existing WordPress installs, WordPress will automatically
 upgrade the tables to `utf8mb4` if the server supports that, and when
 `DB_CHARSET` is defined as `utf8`, it will automatically switch to
 `utf8mb4` instead.

 `wp-config-sample.php` still needs to default to `utf8` though, as not all
 sites can support `utf8mb4`.

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


More information about the wp-trac mailing list