Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 17829 by ajs15822: Receiving ASCII string from NPN_UTF8FromIdentifier http://code.google.com/p/chromium/issues/detail?id=17829
What steps will reproduce the problem? 1. Create a v8::Object. 2. Initialize it with any pair that has a unicode key. 3. Convert to NPObject via npCreateV8ScriptObject. 4. Enumerate its identifiers with NPN_Enumerate. 5. Retrieve the first identifier as a unicode string with NPN_UTF8FromIdentifier. What is the expected result? The identifier should be retrieved as a UTF-8 string value. What happens instead? The identifier is retrieved as an ASCII string value. Please provide any additional information below. Attach a screenshot if possible. The source of this issue seems to be in webkit/port/bindings/v8/v8nputils.cpp-- the function 'getStringIdentifier' (line 108, v8nputils.cpp) is converting the v8::String into an ASCII value even though NPN_GetStringIdentifier expects a UTF-8 value. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
