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

WordPress Trac noreply at wordpress.org
Wed May 7 12:49:20 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):

 [attachment:28162.4.patch] also fixes failures in
 `Tests_Image_Meta::test_utf8_iptc_tags()` and
 `Tests_POMO_MO::test_export_mo_file()`:
 {{{
 There were 2 failures:

 1) Tests_Image_Meta::test_utf8_iptc_tags
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'This is a comment. / Это комментарий. / Βλέπετε ένα σχόλιο.'
 +''

 S:\home\wordpress\develop\tests\phpunit\tests\image\meta.php:130
 S:\usr\local\php5\phpunit:46

 S:\usr\local\php5\phpunit:46

 2) Tests_POMO_MO::test_export_mo_file
 Failed asserting that two objects are equal.
 --- Expected
 +++ Actual
 @@ @@
      'translations' => Array (
 -        0 => 'розов'
 +        0 => 'пу'
      )
      'translator_comments' => ''
      'extracted_comments' => ''
      'references' => Array ()
      'flags' => Array ()
  )

 S:\home\wordpress\develop\tests\phpunit\tests\pomo\mo.php:96
 S:\usr\local\php5\phpunit:46
 }}}

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


More information about the wp-trac mailing list