Closed
Bug 1282690
Opened 8 years ago
Closed 4 years ago
Stray control characters rendered on Nightly on http://notthegame.weei.com
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ladislav.furman, Unassigned)
References
Details
(Whiteboard: [country-all][notcontactready])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160604131506 Steps to reproduce: 1. Visit http://notthegame.weei.com/sports/boston/7-points-game-of-thrones-season-6-episode-10/ on Nightly on safe mode or new profile. 2. Observe incorrect character rendering. Actual results: Some characters render as unknown Unicode symbols Expected results: Correct page rendering without unknown characters.
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Comment 2•8 years ago
|
||
Interesting. Even Firefox 47 is supposed to draw invalid control characters.
Comment 3•8 years ago
|
||
The page contains "\x80\x99" sequence (like, "Jon’\x80\x99s"), that is invalid code sequence for UTF-8, I guess that's a part of "\xe2\x80\x99" sequence, that is U+2019 (RIGHT SINGLE QUOTATION MARK), as "’" is also U+2019. So, basically the page itself is broken. Apart from that, there seems to be a difference in the text rendering, between current Nightly and Release. will find out the changeset that caused the difference. (I'm not sure whether this is a "regression", as displaying the broken code seems to be correct behavior...)
Comment 5•8 years ago
|
||
https://dxr.mozilla.org/mozilla-central/rev/2ab57664bf7cafdd64e136e341527c275fc8c3aa/modules/libpref/init/all.js#2604-2609 > // Should stray control characters be rendered visibly? > #ifdef RELEASE_BUILD > pref("layout.css.control-characters.visible", false); > #else > pref("layout.css.control-characters.visible", true); > #endif Currently, stray control characters are rendered only on non-release build.
Comment 6•8 years ago
|
||
So, this is an intentional change, and what we should do here would be contacting the website to fix the page (by removing stray control characters), like bug 1220462.
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Desktop
Ever confirmed: true
Product: Firefox → Tech Evangelism
Summary: Wrong UTF-8 rendering on http://notthegame.weei.com → Stray control characters rendered on Nightly on http://notthegame.weei.com
Comment 7•8 years ago
|
||
Chrome intends to move to this behavior (apparently) -- I've asked for some clarification on their timing @ https://bugzilla.mozilla.org/show_bug.cgi?id=1099557#c20. I think we shouldn't bother asking sites to update until we can tell them when Chrome will be affected as well.
Whiteboard: [country-all][notcontactready]
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Priority: P3 → P5
Assignee | ||
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Comment 8•4 years ago
|
||
The URL is no longer valid, I;m redirected to main page https://www.radio.com/weei
I've checked a few articles and did not find any incorrect character rendering.
Tested with:
Browser / Version: Firefox Nightly 84.0a1 (2020-10-21)
Operating System: Windows 10 Pro
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•