Consider foreign characters on COMMA

COMMA detection is broken on foreign keyboards.
For instance on a Hebrew Keyboard the letter Tav (ת) is located on the same key as comma.
When searching for something with Tav in it, the token input is cleared.
My proposed fix is on case COMMA, to detect which charCode was pressed.
Cheers :)