Closed Bug 715204 Opened 14 years ago Closed 14 years ago

Non-ascii titles are displayed as garbage during session restore

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(firefox11 fixed, firefox12+ fixed, fennec11+)

VERIFIED FIXED
Firefox 12
Tracking Status
firefox11 --- fixed
firefox12 + fixed
fennec 11+ ---

People

(Reporter: glandium, Assigned: m_kato)

References

()

Details

Attachments

(3 files)

Attached image Title as mojibake
STR: - Go to http://ja.m.wikipedia.org/wiki/%E3%83%9E%E3%83%89%E3%83%AC%E3%83%BC%E3%83%8C%E5%AF%BA%E9%99%A2 - Start other applications such that Nightly is OOM killed - Start Nightly. What happens: - Title is shown in japanese. - Title is then shown as mojibake. - Title is shown in japanese again. I'll be attaching screenshots for 2 and 3.
Attached image Title in japanese
Assignee: nobody → bnicholson
Priority: -- → P3
tracking-fennec: --- → 11+
Attached patch fixSplinter Review
readInputStreamToString handles us-ascii. We should use 3rd option to read as UTF-8.
Attachment #589418 - Flags: review?(bnicholson)
Comment on attachment 589418 [details] [diff] [review] fix Looks fine to me.
Attachment #589418 - Flags: review?(bnicholson) → review+
Assignee: bnicholson → m_kato
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → Firefox 12
Comment on attachment 589418 [details] [diff] [review] fix [Approval Request Comment] Regression caused by (bug #): User impact if declined: Unicode chars not rendered correctly Testing completed (on m-c, etc.): Risk to taking this patch (and alternatives if risky): very low, just specifies the encoding
Attachment #589418 - Flags: approval-mozilla-aurora?
Comment on attachment 589418 [details] [diff] [review] fix [Triage Comment] Mobile only - approved for Aurora.
Attachment #589418 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified fixed on: -build: Firefox for Android 22.0a1 (2013-02-27) -device: Samsung Galaxy Nexus -OS: Android 4.2.2
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: