Closed
Bug 880648
Opened 11 years ago
Closed 11 years ago
[MMS] Accented characters are not correctly sent/received in a MMS
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: isabelrios, Assigned: airpingu)
References
Details
(Whiteboard: MMS_TEF)
Attachments
(4 files, 3 obsolete files)
Bug seen on Unagi v1-train
Gecko-65bbcee
Gaia-13c6246
PROCEDURE
With the device in Spanish
1.Create a new MMS, attach a file (it does not matter from where) and write for example: Más
2.Send the MMS
EXPECTED
The MMS is sent correctly, the file is ok and also the text
ACTUAL
The characters are not shown correctly. See screenshot attached.
Maybe is it realated to bug 877141?
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
This issue is very important and blocking the launching dates.
The text included in a MMS should never be changed and should reach the other party in the same way it is written by the sender.
Changing the component to something more appropiate.
Component: Gaia::SMS → DOM: Device Interfaces
Product: Boot2Gecko → Core
Comment 3•11 years ago
|
||
(In reply to Beatriz Rodríguez [:brg] from comment #2)
> This issue is very important and blocking the launching dates.
> The text included in a MMS should never be changed and should reach the
> other party in the same way it is written by the sender.
> Changing the component to something more appropiate.
Absolutely
Comment 4•11 years ago
|
||
Reproduce by 6/10 build
Seem like SMS is also wrong on receiver
Comment 5•11 years ago
|
||
Hi Gene! Could you help with this? Thanks!
Flags: needinfo?(gene.lian)
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee | ||
Comment 6•11 years ago
|
||
Pleasure!
Comment 7•11 years ago
|
||
I can't reproduce here on gaia master as of 5ffca88
Comment 8•11 years ago
|
||
Could it be related to strict 7 bits encoding?
Assignee | ||
Comment 9•11 years ago
|
||
Eventually, I found out this bug doesn't relate to bug 883017. That bug addresses the issue of wrong text displaying on other parties. This bug addresses the issue of wrong text displaying on our FFOS. I can still reproduce this issue by sending a text like "Más" as mentioned at comment #0. I'm working out a solution for this issue.
No longer blocks: 883017
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #763500 -
Flags: review?(vyang)
Attachment #763500 -
Flags: feedback?(ctai)
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #763504 -
Flags: review?(schung)
Assignee | ||
Updated•11 years ago
|
Attachment #763500 -
Attachment description: Part 1, content blob should be encoded by utf-8 → Part 1, content blob should be encoded by utf-8 (Gecko end)
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #763504 -
Attachment is obsolete: true
Attachment #763504 -
Flags: review?(schung)
Attachment #763505 -
Flags: review?(schung)
Assignee | ||
Comment 13•11 years ago
|
||
Hi dietrich,
We need you help to mark leo+ for this bug which is definitely a critical issue. Thanks!
Flags: needinfo?(dietrich)
Comment 14•11 years ago
|
||
Blocking. However, please add a test to ensure support of these types of characters in the platform layer.
blocking-b2g: leo? → leo+
Flags: needinfo?(dietrich)
Comment 15•11 years ago
|
||
Comment on attachment 763500 [details] [diff] [review]
Part 1, content blob should be encoded by utf-8 (Gecko end)
Review of attachment 763500 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
Attachment #763500 -
Flags: feedback?(ctai) → feedback+
Comment 16•11 years ago
|
||
Hi Gene, I left a comment in https://github.com/mozilla-b2g/gaia/pull/10438#discussion_r4740235, thanks.
Comment 17•11 years ago
|
||
Comment on attachment 763500 [details] [diff] [review]
Part 1, content blob should be encoded by utf-8 (Gecko end)
Review of attachment 763500 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/mobilemessage/src/ril/WspPduHelper.jsm
@@ +2308,5 @@
> + // If the content is a "text/plain" type, we have to make sure
> + // the encoding of the blob content should always be "utf-8".
> + let tmpStr = this.decodeStringContent(octetArray, charset);
> + let encoder = new TextEncoder("UTF-8");
> + content = new Blob([encoder.encode(tmpStr)], {type : mimeType});
nit: we should also reset charset to "utf-8" here.
Attachment #763500 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 18•11 years ago
|
||
Addressing the comment. Thanks Vicamo and Ctai for the feedback.
Attachment #763500 -
Attachment is obsolete: true
Attachment #764028 -
Flags: review+
Attachment #764028 -
Flags: feedback+
Assignee | ||
Comment 19•11 years ago
|
||
Whiteboard: MMS_TEF → MMS_TEF[leave open][fixed-in-birch]
Assignee | ||
Comment 20•11 years ago
|
||
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #764028 -
Attachment is obsolete: true
Attachment #764030 -
Flags: review+
Attachment #764030 -
Flags: feedback+
Updated•11 years ago
|
Attachment #763505 -
Flags: review?(schung) → review+
Comment 22•11 years ago
|
||
Attachment #763505 [details] landed in gaia master: 70e1de2de1722e6ecd131d68a0a403f5e1054166
Assignee | ||
Updated•11 years ago
|
Whiteboard: MMS_TEF[leave open][fixed-in-birch] → MMS_TEF[fixed-in-birch]
Comment 23•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: MMS_TEF[fixed-in-birch] → MMS_TEF
Target Milestone: --- → mozilla24
Comment 24•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/636880c5d3ad
Leaving status-b2g18 set to affected for the v1-train and v1.1hd uplifts.
status-b2g18:
--- → affected
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → affected
status-firefox22:
--- → wontfix
status-firefox23:
--- → wontfix
status-firefox24:
--- → fixed
Flags: needinfo?(jhford)
Comment 25•11 years ago
|
||
v1-train & 1.1hd: aea6834efc2b291971c3065eca7bdfe74a319be8
Updated•11 years ago
|
Flags: in-moztrap?
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
Can someone from QA verify this issue please?
Whiteboard: MMS_TEF → MMS_TEF, qawanted
Reporter | ||
Comment 28•11 years ago
|
||
Hi, with today's build:
Gecko-2ff3151
Gaia-d8d189b
I cannot reproduce the problem with accented chars. Seems to be working fine now. Thanks
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•11 years ago
|
Whiteboard: MMS_TEF, qawanted → MMS_TEF
Updated•11 years ago
|
Flags: in-moztrap? → in-moztrap+
Updated•11 years ago
|
Flags: in-moztrap+ → in-moztrap?(cschmoeckel)
Comment 29•11 years ago
|
||
Created new MMS Suite Test Case #8905 - Send MMS message using accented characters
Flags: in-moztrap?(cschmoeckel) → in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•