[wpmu-trac] [WordPress MU Trac] #306: Problem in multi byte
Japanese characters
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sat Apr 14 03:02:53 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 | Keywords:
------------------------+---------------------------------------------------
Japanese input in the alt attribute is ???
kses.php on line 645
{{{$string = preg_replace('/\xad+/', '', $string); # deals with Opera
"feature"}}}
modify to
{{{if (function_exists('mb_ereg_replace')) {
$string = mb_ereg_replace('\xad+','', $string);
}else{
$string = preg_replace('/\xad+/','', $string);
}}}}
Is this correct though it seems to move without trouble?
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/306>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list