closed #3726:Fix crash when using unknown character.