WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
27095
Garbled text at
http://trangnhat.net
https://bugs.webkit.org/show_bug.cgi?id=27095
Summary
Garbled text at http://trangnhat.net
Jungshik Shin
Reported
2009-07-08 15:12:12 PDT
From the chromium bug tracker (
http://crbug.com/9641
) 1. Go to
http://trangnhat.net/
2. Hover mouse to link "Tin chuyên ngành - Báo chí" >>Second tab in the middle of the page 3. Observe the content popped up The file is sent by the server with just 'Content-Type: text/html' so that we have to honor what's in the file (meta charset). Now I wonder why Firefox does not honor that in this case. Perhaps, it's coming through XHR and Firefox always interprets that as in UTF-8 (depending on how it's pulled). The html page loaded separately (
http://trangnhat.net/chuyenmuc/tinchuyennganh.htm
) is interpreted as windows-1252 by Firefox and is garbled. The html snippet in the main html is as following. The second <li> corresponds to the middle tab in the main page. <div><ul id="maintab" class="shadetabs"> <li class="selected"><a href="#default" rel="ajaxcontentarea">Tin Tức hàng ngày</a></li> <li class=""><a rel="ajaxcontentarea" href="chuyenmuc/tinchuyennganh.htm">Tin chuyên ngành - Báo chí</a></li> <li class=""><a rel="ajaxcontentarea" href="chuyenmuc/news.htm">International News</a></li> </ul> <div id="ajaxcontentarea" class="contentstyle" style="width: 607px; height: 200px">
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2009-07-09 15:15:07 PDT
Per XMLHttpRequest spec, it is correct behavior to look inside HTML responses for META, see <
http://www.w3.org/TR/XMLHttpRequest/#text-response-entity-body
>. Apparently, Firefox does not implement this. As an aside, this page is particularly buggy - its title and body are in different encodings, as you can see in Safari or Firefox by opening it directly. To Evangelism.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug