Bug 109126 - [BlackBerry] CHHW - Characters that are using 32 bits encoding get trunked to 16bits
Summary: [BlackBerry] CHHW - Characters that are using 32 bits encoding get trunked to...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2013-02-06 19:10 PST by Xiaobo Wang
Modified: 2013-02-07 07:26 PST (History)
5 users (show)

See Also:

patch (16.33 KB, patch)
2013-02-06 22:56 PST, Xiaobo Wang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]

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]

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]

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.