Closed Bug 1142679 Opened 11 years ago Closed 10 years ago

encoding issue on tab on youtube site

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: o2733231, Unassigned)

References

()

Details

Attachments

(1 file)

Attached image encoding issue.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150305021524 Steps to reproduce: Load the url Actual results: Some character not shown properly on the tab Expected results: show properly
firefox ES-es
Successfully reproduced at the URL given in screenshot, just entered URL and had exact issue. Same display issues with characters not displaying properly in tab title. Nightly 39.0a1 (2015-03-16) Win7 Professional (x64)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 (Build ID: 20160111030207) I can confirm this is reproducible on the latest Nightly 46 - characters not displayed properly in the tab title and in the video's name.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Text
Ever confirmed: true
Product: Firefox → Core
Version: 36 Branch → Trunk
The actual text inside that <title> element is: Dasoul&quot;E followed by four bytes with values 204, 129, 194, 129 and then followed by: l No Te Da&quot; etc The little "garbage" character shown there is a hexbox for U+0081, which is exactly 129, no surprise. This is one of the Unicode control characters. The page is UTF-8 encoded, since it sends this HTTP header: Content-Type: text/html; charset=utf-8 Those first three non-ASCII bytes are the UTF-8 encoding of U+0301, which is COMBINING ACUTE ACCENT. That's the character the page actually wanted. So the real problem is that they have a stray 0x81 byte in there. Chrome doesn't show control characters like that. We do, quite on purpose, so people are aware when they have garbage in their text instead of silently hiding it...
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: