Closed
Bug 820216
Opened 12 years ago
Closed 12 years ago
[bluetooth] Pairing screen shows incorrect character for apostrophe
Categories
(Firefox OS Graveyard :: General, defect, P3)
Tracking
(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)
People
(Reporter: marcia, Assigned: echou)
Details
(Keywords: unagi)
Attachments
(3 files)
Seen while running the daily smoketest using the 20121210 build STR: 1. Set the language to Portuguese during the first run 2. Set the language back to English during the smoketest 3. Run the smoketest to pair the unagi device with another bluetooth device Expected: I would receive a screen which shows the plural of Mozilla Actual: I get the attached screenshot
Comment 1•12 years ago
|
||
I encountered the same problem when trying to pair an Apple Bluetooth Keyboard; screenshot attached. Looks like an encoding thing -- the curly quote mark ’ encodes to UTF-8 as \xe2\x80\x99 -- character U+00E2 is "â" and U+0080 and U+0099 are invisible control characters.
Updated•12 years ago
|
blocking-basecamp: --- → ?
Comment 2•12 years ago
|
||
Triage: BB+, P3, C3 - incorrect character for apostrophe doesn't make sense to user at all. Evelyn, can you take a quick look? could this be gecko issue?
Assignee: nobody → ehung
blocking-basecamp: ? → +
Component: Gaia::Bluetooth File Transfer → General
Priority: -- → P3
QA Contact: wachen
Target Milestone: --- → B2G C3 (12dec-1jan)
Updated•12 years ago
|
QA Contact: wachen
Comment 3•12 years ago
|
||
Eric, can you take a look? Talked to Evelyn, it seems like Gaia is showing whatever that's passed to Gaia.
Assignee: ehung → echou
Assignee | ||
Comment 4•12 years ago
|
||
JS_NewUCStringCopyN should be used to create a JSString from an Unicode string(in this case, it's a nsString). Currently we are using JS_NewStringCopyN, which is used to deal with C character arrays. Please refer to the link below for more information. * https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Reference/JS_NewStringCopyN
Attachment #695734 -
Flags: review?(gyeh)
Comment 5•12 years ago
|
||
Comment on attachment 695734 [details] [diff] [review] patch 1: v1: should use JS_NewUCStringCopyN to copy a Unicode string Review of attachment 695734 [details] [diff] [review]: ----------------------------------------------------------------- r=me. Thanks you for fixing this. :)
Attachment #695734 -
Flags: review?(gyeh) → review+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a146aac182ef
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a146aac182ef
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 8•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/5fc70f785540 https://hg.mozilla.org/releases/mozilla-b2g18/rev/fb737de33cbb
Comment 9•11 years ago
|
||
Device: Unagi Build Identifier: 20130113070202 Update channel: nightly b2g18 (pvt server) unagi.zip 13-Jan-2013 08:06 100M https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18-unagi-eng/ Git commit info: 2013-11-13 15:15:51 Verified fixed
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•