[wpmu-trac] Re: [WordPress MU Trac] #306: Problem in multi byte Japanese characters

WordPress MU Trac wpmu-trac at lists.automattic.com
Sat Apr 14 03:10:29 GMT 2007


#306: Problem in multi byte Japanese characters
------------------------+---------------------------------------------------
 Reporter:  miyauchi    |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  WPMU 1.0
Component:  component1  |      Version:  1.0     
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by miyauchi):

 ...sorry

 modify to

 if (function_exists('mb_ereg_replace')) {

     $string = mb_ereg_replace('\xad+',, $string);

 }else{

     $string = preg_replace('/\xad+/',, $string);

 }

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/306#comment:1>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list