[wp-trac] [WordPress Trac] #21109: maybe_unserialized fails to unserialize multibyte strings (contains solution)
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 29 16:31:15 UTC 2012
#21109: maybe_unserialized fails to unserialize multibyte strings (contains
solution)
------------------------------------+------------------------------
Reporter: veedeezee | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Comment (by SergeyBiryukov):
Also related: #3517, #8915
Replying to [comment:3 veedeezee]:
> This is exactly the case with the DB charset not matching the what is
specified in wp_config.php
This doesn't seem like a valid configuration, event if the data is
readable.
Perhaps we should try to figure out where the charset difference comes
from. If that's an old install upgraded from 2.1 or earlier, before
`DB_CHARSET` constant was introduced, that might explain it.
In that case, the more correct solution would be to convert the database
to UTF-8: [[BR]]
http://codex.wordpress.org/Converting_Database_Character_Sets
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21109#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list