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

Xiaobo Wang
Reported 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.
Attachments
patch (16.33 KB, patch)
2013-02-06 22:56 PST, Xiaobo Wang
no flags
Xiaobo Wang
Comment 1 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.
Build Bot
Comment 2 2013-02-07 06:10:18 PST
WebKit Review Bot
Comment 3 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>
WebKit Review Bot
Comment 4 2013-02-07 07:26:08 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.