Closed Bug 746026 Opened 12 years ago Closed 12 years ago

Wrong encoding is used when unicode is sent

Categories

(Remote Protocol :: Marionette, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdas, Assigned: mdas)

Details

When sending a unicode string to the marionette server using the client like this:

marionette.send_keys(u"\ue007")

it gets processed incorrectly once received. This should be understood as the ENTER key, but instead turns into a checkmark in B2G Desktop, or a square in B@G on the phone. 

Most likely cause is packing/unpacking in JSON protocol layer.
Assignee: nobody → mdas
I no longer get the checkmark, now I see a the U+e007 PUA icon. Even if I send the unicode directly to the sendKeys icon, it displays the E007 icon, instead of translating that to an ENTER key
This should be fixed from bug 751637
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.