[Webkit-unassigned] [Bug 41256] New: Javascript map object can not store/retrieve unicode values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 26 19:51:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41256

           Summary: Javascript map object can not store/retrieve unicode
                    values
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: udvranto at gmail.com


I created a Bengali input system using javascript. To do this, I created a javascript map for English vs Bengali character. So if you press j, the corresponding Bengali character ক (\u0995) pops up in the editor. But safari does not respect the English vs Bengali character map. For example the following map works well in all browsers (IE, FF, Chrome, Opera) but not in Safari.

var unicode_keyboard_map = {"a":"ৃ", "A":"র্", "d":"ি", "D":"ী", "s":"ু", "S":"ূ", "f":"া", "F":"অ", "g":"্", "G":"।"};

An example program is attached. Note that, in FF if you open the attached index.html and type j, you will see 'ক' printed. But if you type anything in Safari nothing comes up. The reason is 

var CUni = unicode_keyboard_map[C];

CUni is null here.

I am using Safari 5.0.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list