[wp-trac] [WordPress Trac] #28162: seems_utf8() fails with mbstring.func_overload enabled

WordPress Trac noreply at wordpress.org
Wed May 7 12:49:49 UTC 2014


#28162: seems_utf8() fails with mbstring.func_overload enabled
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Formatting        |     Version:  1.2.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------

Comment (by SergeyBiryukov):

 To summarize, I get 12 failures when running test suite with
 `mbstring.func_overload` enabled without a patch, and zero failures with
 [attachment:28162.4.patch].

 Looking at the patch, it would be nice if we had a binary-safe wrapper for
 `strlen()`, similar to the one we have in `POMO_Reader`:
 [source:tags/3.9/src/wp-includes/pomo/streams.php#L70].

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


More information about the wp-trac mailing list