Hi there!
I think it will work anyway. My keyboard is not English.
But do you mean with something like Chinese characters for example? I guess so too.
In fact, I don't know. You need to test. The thing is, each keyboard key has a code for it on Javascript as you can see on this website:
http://gcctech.org/csc/javascript/javascript_keycodes.htm
I don't know how a Japanese or Chinese keyboard handles this stuff. I will have to do some research