[wp-trac] [WordPress Trac] #37982: 4.6.1 Breaks apostrophes in titles and utf-8 characters

WordPress Trac noreply at wordpress.org
Thu Sep 8 23:53:27 UTC 2016


#37982: 4.6.1 Breaks apostrophes in titles and utf-8 characters
-----------------------------------+---------------------
 Reporter:  edutz                  |       Owner:  pento
     Type:  defect (bug)           |      Status:  closed
 Priority:  high                   |   Milestone:  4.6.2
Component:  Charset                |     Version:  4.6.1
 Severity:  major                  |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+---------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38581"]:
 {{{
 #!CommitTicketReference repository="" revision="38581"
 Database: Fall back to `utf8` when `utf8mb4` isn't supported.

 Sometimes, `DB_CHARSET` will be set to `utf8mb4`, even if the current
 setup doesn't support `utf8mb4`. After [38442], this can cause significant
 character set failures, causing the connection to fall back to `latin1`.

 Instead of doing this, we now check that the connection supports `utf8mb4`
 before trying to use it, and fall back to `utf8` when we need to.

 Merge of [38580] to the 4.6 branch.
 Fixes #37982.
 }}}

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


More information about the wp-trac mailing list