bug 829505 correct input keycode checking, do ignore dot and comma