fixed unicode method in InputEvent