我目前正在使用以下代码来翻译é到e等特殊字符。但目前输出结果如下。
播放器之前:TouréY。
Player After:TourA Y。
$normalizeChars = array( 'é'=>'e' );
$player = $event->player;
echo "Player Before: $player<br />";
$playerafter = strtr($player, $normalizeChars);
echo "Player After: $playerafter";