[Webkit-unassigned] [Bug 34653] New: Charset parameter set by setRequestHeader as "KOI8-R" is NOT changed to UTF-8.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 5 10:51:21 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34653

           Summary: Charset parameter set by setRequestHeader as "KOI8-R"
                    is NOT changed to UTF-8.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sangeetha.sugavanam at nokia.com


Steps to Reproduce:
1. Launch QtLauncher.
2. Load the webpage attached to the bug report(from the zip file).
3. Click the Button to execute the test.
4. Content-Type Header received from the server is displayed in the green box
above the button.  

Expected Result:
===============
- Should display content-type and charset as "application/xml; charset=UTF-8".

Actual Result:
==============
- content-type and charset displayed as "application/xml; charset=KOI8-R".


Additional Info:
================
1. Test Assertion : Invoke Send with in parameter Data as Document - 
   If Content-Type header is set using setRequestHeader() and its value is not
malformed, 
   set the charset parameter of the header, by either changing the charset
parameter(if one is present) 
   or appending one, to the  encoding used to encode the document

2. The encoding used to encode the document is UTF-8


3. W3c spec link -

http://dev.w3.org/cvsweb/~checkout~/2006/webapi/XMLHttpRequest/Overview.html?rev=1.209&content-type=text/html;%20charset=iso-8859-1

4. Pls refer : Section 4.6.3 - Alogorithm 3 under "data is a Document"

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



More information about the webkit-unassigned mailing list