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)
DevTools
Netmonitor
Tracking
(firefox59 affected)
NEW
Tracking | Status | |
---|---|---|
firefox59 | --- | affected |
People
(Reporter: magicp.jp, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
147.84 KB,
image/png
|
Details |
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.
Comment 2•8 years ago
|
||
@Fred, can you pleas look at this one, perhaps simple to fix?
Honza
Flags: needinfo?(gasolin)
Comment 3•8 years ago
|
||
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)
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Blocks: netmonitor-response-sidepanel
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•