Merge pull request #21602 from RudyLu/keyboard/Bug1034210_commit

Bug 1034210 - send correct keycode for non-latin IME. r=timdream. a=2.0+
(cherry picked from commit 8a7fb294444869ddaf869a58b21588752b9ce561)