Bug 109126

Summary: [BlackBerry] CHHW - Characters that are using 32 bits encoding get trunked to 16bits
Product: WebKit Reporter: Xiaobo Wang <xiaobwang>
Component: WebKit BlackBerryAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mifenton, rwlbuis, tonikitoo, webkit.review.bot, yong.li.webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
patch none

Description Xiaobo Wang 2013-02-06 19:10:52 PST
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.
Comment 1 Xiaobo Wang 2013-02-06 22:56:17 PST
Created attachment 186993 [details]
patch

Internally reviewed by Mike Fenton. But I changed code in more places for character type after his review.
Comment 2 Build Bot 2013-02-07 06:10:18 PST
Comment on attachment 186993 [details]
patch

Attachment 186993 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/16434121
Comment 3 WebKit Review Bot 2013-02-07 07:26:04 PST
Comment on attachment 186993 [details]
patch

Clearing flags on attachment: 186993

Committed r142120: <http://trac.webkit.org/changeset/142120>
Comment 4 WebKit Review Bot 2013-02-07 07:26:08 PST
All reviewed patches have been landed.  Closing bug.