[wp-trac] [WordPress Trac] #27333: update_option() truncates the option value

WordPress Trac noreply at wordpress.org
Sun Mar 9 15:23:51 UTC 2014


#27333: update_option() truncates the option value
--------------------------+----------------------
 Reporter:  bmthemes      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.8.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 "utf-8" isn't a valid MySQL charset, so I imagine it gets treated as the
 default charset, like latin1 which will accept anything.

 For special four-byte multibyte characters, you can use "utf8mb4" as a
 charset. See also #21212.

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


More information about the wp-trac mailing list