[wp-trac] [WordPress Trac] #32051: Creating new posts/terms with non-English characters is broken for tables with cp1251 collation in 4.1.2

WordPress Trac noreply at wordpress.org
Wed Apr 22 13:36:16 UTC 2015


#32051: Creating new posts/terms with non-English characters is broken for tables
with cp1251 collation in 4.1.2
--------------------------+-----------------------
 Reporter:  vloo          |       Owner:  pento
     Type:  defect (bug)  |      Status:  accepted
 Priority:  high          |   Milestone:  4.2
Component:  Database      |     Version:  4.1.2
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 [attachment:32051.2.diff] improves performance by setting several extra
 character sets (including `cp1251`) to be tested locally against PHP's MB
 string libraries, instead of being sent to MySQL.

 The were compiled by comparing these two lists:

 https://dev.mysql.com/doc/refman/5.5/en/charset-charsets.html
 https://php.net/manual/en/mbstring.supported-encodings.php

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


More information about the wp-trac mailing list