Fix encode issue of player name in replay mode