[wp-trac] [WordPress Trac] #11669: There's a problem to show one letter, and it cuts taxonomies names

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 3 06:24:12 UTC 2010


#11669: There's a problem to show one letter, and it cuts taxonomies names
--------------------------+-------------------------------------------------
 Reporter:  maorb         |       Owner:  hakre            
     Type:  defect (bug)  |      Status:  new              
 Priority:  high          |   Milestone:  2.9.1            
Component:  Charset       |     Version:  2.9              
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by dd32):

 > , here was a problem with one Cyrillic letter replaced by that regex.
 Could somebody that can reproduce this run the following test

 Confirmed here:

 {{{
 <?php

  echo preg_replace('/\s+/', ' ', 'אבגדהוזחטיכלמנסעפצקרשת') . '<br />';
  echo preg_replace('/[\r\n\t ]+/', ' ', 'אבגדהוזחטיכלמנסעפצקרשת') . '<br
  />';
  echo 'אבגדהוזחטיכלמנסעפצקרשת'; // for comparison

 ?>
 אבגדהוזחטיכלמ� סעפצקרשת
 אבגדהוזחטיכלמנסעפצקרשת
 אבגדהוזחטיכלמנסעפצקרשת
 }}}

 Note the missing/malformed char in the 1st line.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11669#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list