[Webkit-unassigned] [Bug 16987] New: XMLHTTPRequest.responseText (text/html) without charset label does not inherit the referring page's charset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 23 13:36:54 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16987

           Summary: XMLHTTPRequest.responseText (text/html) without charset
                    label does not inherit the referring page's charset
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jungshik.shin at gmail.com


* How to reproduce
  1. Go to http://i18nl10n.com/webkit/xhrtest.html 

* Expected (IE6, Firefox and Opera all do this)
  Both columns should be identical with two lines of the first 5 letters of
Cyrillic alphabet

* Actual
  The 2nd line in the right column (text/html) has 'gibberish' rather than the
first 5 letters of Cyrillic alphabet. 



The left column ( http://i18nl10n.com/webkit/xhrtest1.html with meta for UTF-8)
loads xhrtestdata1.txt (encoded in UTF-8 and emitted with HTTP header :
Content-Type: text/plain) while the right column
(http://i18nl10n.com/webkit/xhrtest2.html : with meta for UTF-8) loads
xhrtestdata2.html (encoded in UTF-8 without meta and emitted with HTTP header :
'Content-Type: text/html')

Neither xhrtestdata1.txt nor xhrtestdata2.html has 'UTF-8 BOM'.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list