I am trying to understand the language related coding for Chinese: I have find that
the StripForSearch defined in utf8 and zh* were like this:
$out = preg_replace( "/([\xc0-\xff][\x80-\xbf]*)/e", "'U8' . bin2hex( strtr( "$1", $wikiSearchChars ) )", $string );
My question is :
Why the strtr is place in here but not
$out = preg_replace( "/([\xc0-\xff][\x80-\xbf]*)/e", "'U8' . bin2hex( "$1" )", strtr( $string, $wikiSearchChars ) );