Text encoding issues in response preview with Chinese content

NEW
Unassigned

Status

P3
normal
2 years ago
4 months ago

People

(Reporter: carlzhangweiwen, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox53 affected)

Details

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
Created attachment 8823164 [details]
firefoxbug.png

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507

Steps to reproduce:

当我访问http://www.firefox.com.cn/about/contact/
网站,打开debug工具后,debug工具看到的部分中文文字是乱码。
在访问其它中文网站时候,也碰到了这种错误


Actual results:

当我访问http://www.firefox.com.cn/about/contact/
网站,打开debug工具后,debug工具看到的部分中文文字是乱码


Expected results:

debug不应该看到乱码,因为网页中并没有出现乱码

Comment 1

2 years ago
Hi. Could you write the bug report in English.
Flags: needinfo?(carlzhangweiwen)

Comment 2

2 years ago
Steps to reproduce:

Go to:  http://www.firefox.com/about/contact/
Open the debug tool, some of the Chinese text is distorted
When visiting other Chinese websites, also encountered such a mistake.

Actual results:

Go to:  http://www.firefox.com/about/contact/
Open the debug tool, some of the Chinese text is distorted

Expected results:

Text should not be distorted in debug, because the text does not appear distorted in page.
Flags: needinfo?(carlzhangweiwen)

Comment 3

2 years ago
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161213225203

Works for me.

Comment 4

2 years ago
Hi,

I tested this on Windows 7 X64 and Mac OS X 10.12 with FF Nightly 53.0a1(2017-01-05) I used a vpn connection but I couldn't reproduce this using the: http://www.firefox.com.cn/about/contact/ 

Carlzhang ca you please attach a screen shot with your result?
Also can you test this with the latest Nightly?  please download it from here: https://www.mozilla.org/en-US/firefox/channel/desktop/?v=b#nightly
Flags: needinfo?(carlzhangweiwen)

Comment 5

2 years ago
(In reply to ovidiu boca[:Ovidiu] from comment #4)
> Hi,
> 
> I tested this on Windows 7 X64 and Mac OS X 10.12 with FF Nightly
> 53.0a1(2017-01-05) I used a vpn connection but I couldn't reproduce this
> using the: http://www.firefox.com.cn/about/contact/ 
> 
> Carlzhang ca you please attach a screen shot with your result?
> Also can you test this with the latest Nightly?  please download it from
> here: https://www.mozilla.org/en-US/firefox/channel/desktop/?v=b#nightly

Check the attachment.
Flags: needinfo?(carlzhangweiwen)

Comment 6

2 years ago
Created attachment 8824464 [details]
bug.png

Thanks Yamin for the attachment, I tested on Win 7 x64 with FF Nighlty 53.0a1(2016-01-05) zh-CN build and I can reproduce it, see the attachement. 

I also tried with an US build and I can't reproduce it. 

Steps:

1. Go to:  http://www.firefox.com/about/contact/
2. Go to Tools -> Web Developers -> Toggle Tools -> Networking (reload the page from step 1 and select /about/contact/) -> in the right side go to Response.

Updated

2 years ago
Status: UNCONFIRMED → NEW
status-firefox53: --- → affected
Component: Untriaged → Networking
Ever confirmed: true
Product: Firefox → Core
Version: 50 Branch → Trunk
Component: Networking → Developer Tools: Netmonitor
Product: Core → Firefox
Summary: debug工具中,部分中文乱码 → Text encoding issues in response preview with Chinese content
I was testing this with patch from bug 1317651 applied and the problem seems to be fixed. Needs to be re-tested as soon as that patch lands in Nightly.

Honza
Priority: -- → P3

Updated

4 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.