[wp-trac] [WordPress Trac] #27733: wpautop(): \s in regex destroys some UTF-8 characters

WordPress Trac noreply at wordpress.org
Tue Jun 10 15:39:10 UTC 2014


#27733: wpautop(): \s in regex destroys some UTF-8 characters
---------------------------------+-----------------------------
 Reporter:  tenpura              |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Formatting           |     Version:  0.71
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.0-early  |     Focuses:
---------------------------------+-----------------------------

Comment (by miqrogroove):

 For debugging: http://www.fileformat.info/info/unicode/char/30e0/index.htm

 Note this character terminates with 0xA0.  This problem should be fixed
 now in trunk as wp_spaces_regexp() has been implemented for compatibility
 with smilies, shortcodes, and various wptexturize patterns.  This problem
 also will not affect all servers as it is related to the code page
 referenced by PCRE.

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


More information about the wp-trac mailing list