Open Bug 1428527 Opened 8 years ago Updated 3 years ago

Japanese characters get garbled in Response tab when charset is euc-jp

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(firefox59 affected)

Tracking Status
firefox59 --- affected

People

(Reporter: magicp.jp, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce: 1. Launch Nightly 2. Open Network Monitor (Ctrl+Shift+E) 3. Go to https://www.mozilla-japan.org/security/ 4. Select a request, File "/security/" 5. Switch to Response tab Actual results: Japanese characters get garbled in Preview and Response payload. It reproduce with charset="Shift_JIS" too. Expected results: All of characters are shown correctly even if charset is not utf-8.
Thanks for the report! Honza
Has STR: --- → yes
Priority: -- → P2
@Fred, can you pleas look at this one, perhaps simple to fix? Honza
Flags: needinfo?(gasolin)
After tracing I found iframe seems not taking content charset to encode the iframe content (our panel is utf8) https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/components/HtmlPreview.js#20 Here's a simple sample to test both iframe.src or iframe.srcdoc https://jsfiddle.net/mvvgdkxt I have not find a simple fix for this yet...
Flags: needinfo?(gasolin)
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: