[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:48:08 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 needs-testing | Focuses:
-------------------------------------+---------------------
Changes (by pento):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"38580"]:
{{{
#!CommitTicketReference repository="" revision="38580"
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.
Fixes #37982 for trunk.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37982#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list