Some Chinese characters in HKSCS charset has a unicode beyond the 16-bit range, such as U+20547. If we input one of theses characters into URL bar or any input/editable in a page, you'll get a wrong character, because the key code was trunked to 16 bits. Should store the keycode/character in 32-bit instead of 16-bit.
Created attachment 186993 [details] patch Internally reviewed by Mike Fenton. But I changed code in more places for character type after his review.
Comment on attachment 186993 [details] patch Attachment 186993 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/16434121
Comment on attachment 186993 [details] patch Clearing flags on attachment: 186993 Committed r142120: <http://trac.webkit.org/changeset/142120>
All reviewed patches have been landed. Closing bug.