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

WordPress Trac noreply at wordpress.org
Wed May 7 10:57:43 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          |   Keywords:
  Focuses:                  |
----------------------------+-------------------
 `seems_utf8()` tests fail with `mbstring.func_overload` enabled:
 {{{
 S:\home\wordpress\develop>phpunit
 tests/phpunit/tests/formatting/SeemsUtf8.php
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests... To execute these, use --group ajax.
 PHPUnit 3.6.11 by Sebastian Bergmann.

 Configuration read from S:\home\wordpress\develop\phpunit.xml.dist

 ..F.FI

 Time: 15 seconds, Memory: 24.25Mb

 There were 2 failures:

 1) Tests_Formatting_SeemsUtf8::test_returns_true_for_utf8_strings with
 data set #2 ('საქართველო')
 }}}

 This also leads to broken post slugs:
 1. Create a post titled "абвгдеёжзийклмнопрстуфхцчшщъыьэюя".
 2. Note the auto-generated slug:
 "dhdhdhdhdhdhundhdhdhdhdhdhdhdhdhdhnennnfnnnnnnnsnnoennzn".

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


More information about the wp-trac mailing list